Keymap: Add sequencer scrub with box-select & RMB select
Also support selecting by dragging a box over the strips which previously did nothing.
This commit is contained in:
parent
0e6c56760c
commit
005bba2a81
|
@ -6515,10 +6515,15 @@ def km_sequencer_editor_tool_select_box(params):
|
|||
return (
|
||||
"Sequencer Tool: Select Box",
|
||||
{"space_type": 'SEQUENCE_EDITOR', "region_type": 'WINDOW'},
|
||||
{"items": _template_items_tool_select_actions_simple(
|
||||
"sequencer.select_box", type=params.tool_tweak, value='ANY',
|
||||
properties=[("tweak", True)],
|
||||
)},
|
||||
{"items": [
|
||||
*_template_items_tool_select_actions_simple(
|
||||
"sequencer.select_box", type=params.tool_tweak, value='ANY',
|
||||
properties=[("tweak", params.select_mouse == 'LEFTMOUSE')],
|
||||
),
|
||||
# RMB select can already set the frame, match the tweak tool.
|
||||
*(_template_items_change_frame(params)
|
||||
if params.select_mouse == 'LEFTMOUSE' else []),
|
||||
]},
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue