mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +00:00
Improve keyboard shortcuts
This commit is contained in:
parent
6fb2c4adc5
commit
6466452e45
@ -204,8 +204,8 @@ struct PlayerControls: View {
|
||||
#if os(tvOS)
|
||||
.focused($focusedField, equals: .backward)
|
||||
#else
|
||||
.keyboardShortcut("k")
|
||||
.keyboardShortcut(.leftArrow)
|
||||
.keyboardShortcut("k", modifiers: [])
|
||||
.keyboardShortcut(KeyEquivalent.leftArrow, modifiers: [])
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@ -237,8 +237,8 @@ struct PlayerControls: View {
|
||||
#if os(tvOS)
|
||||
.focused($focusedField, equals: .forward)
|
||||
#else
|
||||
.keyboardShortcut("l")
|
||||
.keyboardShortcut(.rightArrow)
|
||||
.keyboardShortcut("l", modifiers: [])
|
||||
.keyboardShortcut(KeyEquivalent.rightArrow, modifiers: [])
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user