Clip Editor: Add clip.delete_track shortcut in dopesheet view

Previously there isn't a "delete" shortcut in dopesheet view of
the movie clip editor. Now the shortcut (`X` key) is added for
convenience.
This commit is contained in:
YimingWu
2024-09-05 11:51:17 +08:00
parent afff3918db
commit 2ee223b774

View File

@@ -3463,6 +3463,7 @@ def km_clip_dopesheet_editor(_params):
{"properties": [("extend", True)]}),
("clip.dopesheet_view_all", {"type": 'HOME', "value": 'PRESS'}, None),
("clip.dopesheet_view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
("clip.delete_track", {"type": 'X', "value": 'PRESS'}, None),
])
return keymap