More fixes in Sequencer's View menu (thanks to Lockal for pointing those ;) ).

This commit is contained in:
Bastien Montagne
2012-09-21 15:19:26 +00:00
parent fad952f423
commit ecf6beb8d3

View File

@@ -152,17 +152,21 @@ class SEQUENCER_MT_view(Menu):
# # XXX, invokes in the header view
# layout.operator("sequencer.view_ghost_border", text="Overlay Border")
layout.prop(st, "show_seconds")
if st.view_type in {'SEQUENCER', 'SEQUENCER_PREVIEW'}:
layout.prop(st, "show_seconds")
layout.prop(st, "show_frame_indicator")
layout.prop(st, "show_frame_indicator")
if st.display_mode == 'IMAGE':
layout.prop(st, "show_safe_margin")
if st.display_mode == 'WAVEFORM':
layout.prop(st, "show_separate_color")
if st.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'}:
if st.display_mode == 'IMAGE':
layout.prop(st, "show_safe_margin")
elif st.display_mode == 'WAVEFORM':
layout.prop(st, "show_separate_color")
layout.separator()
layout.prop(st, "use_marker_sync")
layout.separator()
if st.view_type in {'SEQUENCER', 'SEQUENCER_PREVIEW'}:
layout.prop(st, "use_marker_sync")
layout.separator()
layout.operator("screen.area_dupli")
layout.operator("screen.screen_full_area")