diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-19 09:10:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-19 09:10:39 +0300 |
commit | ad4cbc5a58fec30ce52592cdeb5e3eaafc6a2c24 (patch) | |
tree | 1466a1f652bd9e4bd90f28480111989f36d3b0f6 /release/scripts/startup/bl_ui/space_sequencer.py | |
parent | 548fb8103549c85ad007266016d401e48ca74e3b (diff) |
Cleanup: logical checks in UI scripts
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index f47213c435d..942656f24b1 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -658,7 +658,7 @@ class SEQUENCER_PT_edit(SequencerButtonsPanel, Panel): row.label(text=iface_("Final Length: %s") % bpy.utils.smpte_from_frame(strip.frame_final_duration), translate=False) row = col.row(align=True) - row.active = (frame_current >= strip.frame_start and frame_current <= strip.frame_start + strip.frame_duration) + row.active = strip.frame_start <= frame_current <= strip.frame_start + strip.frame_duration row.label(text=iface_("Playhead: %d") % (frame_current - strip.frame_start), translate=False) col.label(text=iface_("Frame Offset %d:%d") % (strip.frame_offset_start, strip.frame_offset_end), |