Keymap: Make Clip Editor Graph view consistent with regular Graph Editor
Still missing a context menu here for now though
This commit is contained in:
@@ -2747,7 +2747,6 @@ def km_clip_graph_editor(params):
|
||||
)
|
||||
|
||||
items.extend([
|
||||
("clip.change_frame", {"type": params.action_mouse, "value": 'PRESS'}, None),
|
||||
("clip.graph_select", {"type": params.select_mouse, "value": 'PRESS'},
|
||||
{"properties": [("extend", False)]}),
|
||||
("clip.graph_select", {"type": params.select_mouse, "value": 'PRESS', "shift": True},
|
||||
@@ -2777,6 +2776,15 @@ def km_clip_graph_editor(params):
|
||||
("transform.rotate", {"type": 'R', "value": 'PRESS'}, None),
|
||||
])
|
||||
|
||||
if params.select_mouse == 'LEFTMOUSE' and not params.legacy:
|
||||
items.extend([
|
||||
("clip.change_frame", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
|
||||
])
|
||||
else:
|
||||
items.extend([
|
||||
("clip.change_frame", {"type": params.action_mouse, "value": 'PRESS'}, None),
|
||||
])
|
||||
|
||||
return keymap
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user