From bf242362f6c363ef0321b2d3200e6eaa50da0225 Mon Sep 17 00:00:00 2001 From: William Reynish Date: Sat, 24 Aug 2019 00:24:43 +0200 Subject: UI: Sequencer: Move header spacer in to Preview modes Patch by Peter Fog (tintwotin) Differential Revision: D5511 --- release/scripts/startup/bl_ui/space_sequencer.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'release') 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 -- cgit v1.2.3