Merge pull request #2082 from york9675/fix/spacebar

Fix playback hotkeys by preventing browser default
This commit is contained in:
York
2026-05-31 22:36:53 +08:00
committed by GitHub
parent 7a20cf3853
commit 08b4c620f2
+1 -1
View File
@@ -33,5 +33,5 @@ export const withPhysicalKeys = (hotkeys: HotkeyItem[]): HotkeyItem[] =>
hotkeys.map(([hotkey, handler, options]) => [
toPhysicalHotkey(hotkey),
handler,
{ ...options, usePhysicalKeys: true },
{ ...options, preventDefault: true, usePhysicalKeys: true },
]);