diff options
author | William Reynish <billrey@me.com> | 2019-08-24 01:24:43 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-08-24 01:24:43 +0300 |
commit | bf242362f6c363ef0321b2d3200e6eaa50da0225 (patch) | |
tree | 040db9fa056540ee86561bf77c222e985cf49578 | |
parent | beb025b3ab57ceb0621e1c8bd2117cd595278ee3 (diff) |
UI: Sequencer: Move header spacer in to Preview modes
Patch by Peter Fog (tintwotin)
Differential Revision: D5511
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index f2eaed62276..9994a0ed5e0 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -103,15 +103,14 @@ class SEQUENCER_HT_header(Header): SEQUENCER_MT_editor_menus.draw_collapsible(context, layout) - layout.separator_spacer() - if st.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'}: + + layout.separator_spacer() + layout.prop(st, "display_mode", text="", icon_only=True) - if st.view_type != 'SEQUENCER': layout.prop(st, "preview_channels", text="", icon_only=True) - if st.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'}: gpd = context.gpencil_data tool_settings = context.tool_settings |