mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T66560 Sequencer: Shortcut keys no showing in menu for 'Move' and 'Refresh All'
The menu shortcut context for 'Refresh All' was wrong and the actual operation exectuted in the menu for the 'Move' command was different from the shortcut.
This commit is contained in:
parent
12ceea0434
commit
ee4fa41245
1 changed files with 3 additions and 2 deletions
|
|
@ -222,10 +222,11 @@ class SEQUENCER_MT_view(Menu):
|
|||
layout.menu("SEQUENCER_MT_range")
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
layout.operator("sequencer.refresh_all", icon='FILE_REFRESH', text="Refresh All")
|
||||
|
||||
layout.separator()
|
||||
layout.operator_context = 'INVOKE_DEFAULT'
|
||||
|
||||
if is_preview:
|
||||
layout.operator_context = 'INVOKE_REGION_PREVIEW'
|
||||
|
|
@ -557,7 +558,7 @@ class SEQUENCER_MT_strip_transform(Menu):
|
|||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("transform.transform", text="Move").mode = 'TRANSLATION'
|
||||
layout.operator("transform.seq_slide", text="Move")
|
||||
layout.operator("transform.transform", text="Move/Extend from Playhead").mode = 'TIME_EXTEND'
|
||||
layout.operator("sequencer.slip", text="Slip Strip Contents")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue