diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-11 17:57:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-11 18:01:10 +0300 |
commit | a753c6e11a72747eaa82a103a09d4d2f7f08670e (patch) | |
tree | f317c27dfd8e437092942469e60a78fce3fa7a17 /release/scripts/startup/bl_ui/space_time.py | |
parent | 17ee4836aba26934e2bb93b27bc77d4b7293133d (diff) |
UI: split left/right header buttons
- Added flexible separators to
Clip, Graph, Dopesheet, Image, Node, Timeline, 3D View.
- Added graying out for Proportional Editing
menus to avoid popping when right-aligned.
- Slightly re-arranged some controls,
so they can be on correct side of the separators.
Patch by @billreynish
Diffstat (limited to 'release/scripts/startup/bl_ui/space_time.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_time.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_time.py b/release/scripts/startup/bl_ui/space_time.py index 16ad53ca642..358a813fd0f 100644 --- a/release/scripts/startup/bl_ui/space_time.py +++ b/release/scripts/startup/bl_ui/space_time.py @@ -70,9 +70,6 @@ class TIME_HT_editor_buttons(Header): else: row.prop(scene, "frame_current", text="") - layout.separator() - layout.separator() - row = layout.row(align=True) row.prop(scene, "use_preview_range", text="", toggle=True) sub = row.row(align=True) @@ -94,8 +91,6 @@ class TIME_MT_editor_menus(Menu): @staticmethod def draw_menus(layout, context): - layout.menu("TIME_MT_view") - layout.menu("TIME_MT_marker") layout.popover(space_type='DOPESHEET_EDITOR', region_type='HEADER', panel_type="TIME_PT_playback", @@ -104,6 +99,8 @@ class TIME_MT_editor_menus(Menu): region_type='HEADER', panel_type="TIME_PT_keyframing_settings", text="Keying") + layout.menu("TIME_MT_view") + layout.menu("TIME_MT_marker") class TIME_MT_marker(Menu): |