UI: rename "Select Playhead" to "Select -> Side of Current Frame"

Make this consistent with meshes select side of active,
also rename "Under" to "Overlap" as this is confusing since
strips can be considered above/under each other
relative to their channels.
This commit is contained in:
Campbell Barton
2020-06-01 14:46:46 +10:00
parent 946ae26349
commit c71be9a552
4 changed files with 11 additions and 11 deletions

View File

@@ -394,14 +394,14 @@ class SEQUENCER_MT_select_linked(Menu):
layout.operator("sequencer.select_more", text="More")
class SEQUENCER_MT_select_playhead(Menu):
bl_label = "Select Playhead"
class SEQUENCER_MT_select_side_of_frame(Menu):
bl_label = "Side of Current Frame"
def draw(self, _context):
layout = self.layout
props = layout.operator("sequencer.select", text="Under")
props.left_right = 'UNDER'
props = layout.operator("sequencer.select", text="Overlap")
props.left_right = 'OVERLAP'
props.linked_time = True
props = layout.operator("sequencer.select", text="Left")
props.left_right = 'LEFT'
@@ -429,7 +429,7 @@ class SEQUENCER_MT_select(Menu):
layout.separator()
layout.menu("SEQUENCER_MT_select_playhead", text="Playhead")
layout.menu("SEQUENCER_MT_select_side_of_frame")
layout.menu("SEQUENCER_MT_select_handle", text="Handle")
layout.menu("SEQUENCER_MT_select_channel", text="Channel")
layout.menu("SEQUENCER_MT_select_linked", text="Linked")
@@ -2221,7 +2221,7 @@ classes = (
SEQUENCER_MT_view_toggle,
SEQUENCER_MT_preview_zoom,
SEQUENCER_MT_proxy,
SEQUENCER_MT_select_playhead,
SEQUENCER_MT_select_side_of_frame,
SEQUENCER_MT_select_handle,
SEQUENCER_MT_select_channel,
SEQUENCER_MT_select_linked,