fix: let lock mode scrub audio timeline playhead

This commit is contained in:
2026-07-04 20:40:28 +02:00
parent 6cfac8baa9
commit 36fc1b9591
2 changed files with 39 additions and 1 deletions
+3 -1
View File
@@ -2617,8 +2617,10 @@ class TimelineWidget(QWidget):
self._sb_drag_offset = thumb_w / 2
self.update()
return
# Audio mode: dragging/resizing the teal band takes priority over seeking.
# Audio mode: dragging/resizing the teal band takes priority over seeking,
# except in lock mode where clicks scrub playback without moving regions.
if (self._audio_mode and self._audio_region is not None
and not self._locked
and event.button() == Qt.MouseButton.LeftButton):
self._audio_begin_drag_at_x(x)
if self._audio_drag is not None: