Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billrey@me.com>2019-08-24 01:24:43 +0300
committerWilliam Reynish <billrey@me.com>2019-08-24 01:24:43 +0300
commitbf242362f6c363ef0321b2d3200e6eaa50da0225 (patch)
tree040db9fa056540ee86561bf77c222e985cf49578 /release
parentbeb025b3ab57ceb0621e1c8bd2117cd595278ee3 (diff)
UI: Sequencer: Move header spacer in to Preview modes
Patch by Peter Fog (tintwotin) Differential Revision: D5511
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py7
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