mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-17 00:44:23 +02:00
Merge pull request #2082 from york9675/fix/spacebar
Fix playback hotkeys by preventing browser default
This commit is contained in:
@@ -33,5 +33,5 @@ export const withPhysicalKeys = (hotkeys: HotkeyItem[]): HotkeyItem[] =>
|
|||||||
hotkeys.map(([hotkey, handler, options]) => [
|
hotkeys.map(([hotkey, handler, options]) => [
|
||||||
toPhysicalHotkey(hotkey),
|
toPhysicalHotkey(hotkey),
|
||||||
handler,
|
handler,
|
||||||
{ ...options, usePhysicalKeys: true },
|
{ ...options, preventDefault: true, usePhysicalKeys: true },
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user