mirror of
https://github.com/yattee/yattee.git
synced 2024-12-24 22:43:41 +00:00
Improve keyboard shortcuts
This commit is contained in:
parent
961b616c74
commit
58931c97fd
@ -204,8 +204,8 @@ struct PlayerControls: View {
|
|||||||
#if os(tvOS)
|
#if os(tvOS)
|
||||||
.focused($focusedField, equals: .backward)
|
.focused($focusedField, equals: .backward)
|
||||||
#else
|
#else
|
||||||
.keyboardShortcut("k")
|
.keyboardShortcut("k", modifiers: [])
|
||||||
.keyboardShortcut(.leftArrow)
|
.keyboardShortcut(KeyEquivalent.leftArrow, modifiers: [])
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@ -237,8 +237,8 @@ struct PlayerControls: View {
|
|||||||
#if os(tvOS)
|
#if os(tvOS)
|
||||||
.focused($focusedField, equals: .forward)
|
.focused($focusedField, equals: .forward)
|
||||||
#else
|
#else
|
||||||
.keyboardShortcut("l")
|
.keyboardShortcut("l", modifiers: [])
|
||||||
.keyboardShortcut(.rightArrow)
|
.keyboardShortcut(KeyEquivalent.rightArrow, modifiers: [])
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user