Polish transport spacing, drop shortcut hints, add Detect Next Clap button
- PlayerPanel now leaves an 8px bottom margin so the transport row isn't flush against the tab's edge. - Frame-step buttons read '⏮ Frame' / 'Frame ⏭' instead of '⏮ Frame (,)' / 'Frame ⏭ (.)' -- the shortcuts still work, just not spelled out on the buttons. - Detect Next Clap is now a button in the Sync markers panel next to Detect All Claps (still also in the Tools menu), kept in sync with its menu action's enabled state the same way Detect All Claps was.
This commit is contained in:
+3
-3
@@ -53,7 +53,7 @@ class PlayerPanel(QWidget):
|
||||
self._slider_being_dragged = False
|
||||
|
||||
layout = QVBoxLayout(self)
|
||||
layout.setContentsMargins(0, 0, 0, 0)
|
||||
layout.setContentsMargins(0, 0, 0, 8)
|
||||
layout.addWidget(self.player, stretch=1)
|
||||
|
||||
seek_row = QHBoxLayout()
|
||||
@@ -84,7 +84,7 @@ class PlayerPanel(QWidget):
|
||||
transport = QHBoxLayout()
|
||||
transport.addStretch(1)
|
||||
|
||||
self.prev_frame_button = QPushButton("⏮ Frame (,)")
|
||||
self.prev_frame_button = QPushButton("⏮ Frame")
|
||||
self.prev_frame_button.clicked.connect(lambda: self.step_frame(-1))
|
||||
transport.addWidget(self.prev_frame_button)
|
||||
|
||||
@@ -92,7 +92,7 @@ class PlayerPanel(QWidget):
|
||||
self.play_button.clicked.connect(self.toggle_play)
|
||||
transport.addWidget(self.play_button)
|
||||
|
||||
self.next_frame_button = QPushButton("Frame ⏭ (.)")
|
||||
self.next_frame_button = QPushButton("Frame ⏭")
|
||||
self.next_frame_button.clicked.connect(lambda: self.step_frame(1))
|
||||
transport.addWidget(self.next_frame_button)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user