fix(ui): keep Space for playback after mouse clicks

Controls take focus only via Tab, so a click leaves Space for playback.
This commit is contained in:
tri committed 2026-11-11 20:12:06 +07:00
1 parent 97b4a2fe32
commit 0098641425
5 files changed
+22 -20

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ Slider {
implicitWidth: Kirigami.Units.gridUnit * 5
wheelEnabled: true
stepSize: QtPotatoSettings.volumeStep
focusPolicy: Qt.StrongFocus
focusPolicy: Qt.TabFocus
// Let the Slider consume navigation keys before window playback shortcuts.
Keys.onShortcutOverride: event => {