diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-10-04 22:59:20 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-10-04 23:10:17 +0300 |
commit | d1ade756a965423398d462e28063f1fdcf98ba16 (patch) | |
tree | 5c677e4660f02560ecb6df707b9447324e6a6943 /release/scripts | |
parent | 655ce5dc3ed55358a72fc144a2095bb8ebdb053b (diff) |
Fix T91920: Missing decorate buttons in sound panel
Add back decorate buttons, move mono and display waveforms to bottom as
they were before.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index 6430d6bab9b..4f76c645bcb 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -1758,7 +1758,6 @@ class SEQUENCER_PT_adjust_sound(SequencerButtonsPanel, Panel): def draw(self, context): layout = self.layout - layout.use_property_split = False st = context.space_data overlay_settings = st.timeline_overlay @@ -1768,16 +1767,7 @@ class SEQUENCER_PT_adjust_sound(SequencerButtonsPanel, Panel): layout.active = not strip.mute if sound is not None: - col = layout.column() - - split = col.split(factor=0.4) - split.label(text="") - split.prop(sound, "use_mono") - if overlay_settings.waveform_display_type == 'DEFAULT_WAVEFORMS': - split = col.split(factor=0.4) - split.label(text="") - split.prop(strip, "show_waveform") - + layout.use_property_split = True col = layout.column() split = col.split(factor=0.4) @@ -1800,6 +1790,17 @@ class SEQUENCER_PT_adjust_sound(SequencerButtonsPanel, Panel): split.prop(strip, "pan", text=pan_text) split.enabled = sound.use_mono and audio_channels != 'MONO' + layout.use_property_split = False + col = layout.column() + + split = col.split(factor=0.4) + split.label(text="") + split.prop(sound, "use_mono") + if overlay_settings.waveform_display_type == 'DEFAULT_WAVEFORMS': + split = col.split(factor=0.4) + split.label(text="") + split.prop(strip, "show_waveform") + class SEQUENCER_PT_adjust_comp(SequencerButtonsPanel, Panel): |