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:
1 parent
97b4a2fe32
commit
0098641425
5 files changed
+22
-20
No files matched your search
@@ -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 => {
|
||||
|
||||
Reference in new issue
Block a user