Fix media key shortcut for play/pause

This commit is contained in:
unknown
2025-11-10 16:09:30 +10:00
parent c43c8d372b
commit 9a4d849bb9

View File

@@ -1454,9 +1454,7 @@
// Prevent default actions
event.preventDefault();
event.stopImmediatePropagation();
// Swap media key to spacebar when we pass it down. This ensures that the play / pause works correctly
let event_key = event.key;
let event_keyCode = event.keyCode;