From f137101b90ed6872a22ff954583923ea7f9a588e Mon Sep 17 00:00:00 2001 From: CenTdemeern1 Date: Tue, 15 Oct 2024 16:55:20 +0200 Subject: [PATCH] Add the ruffle-player to the hotkey ignorelist This should fix the focus issues. Thanks to kjarosh and Dinnerbone from the ruffle team for helping me debug this! --- packages/frontend/src/scripts/hotkey.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/scripts/hotkey.ts b/packages/frontend/src/scripts/hotkey.ts index 04fb235694..d5304ee210 100644 --- a/packages/frontend/src/scripts/hotkey.ts +++ b/packages/frontend/src/scripts/hotkey.ts @@ -42,7 +42,7 @@ const KEY_ALIASES = { const MODIFIER_KEYS = ['ctrl', 'alt', 'shift']; -const IGNORE_ELEMENTS = ['input', 'textarea']; +const IGNORE_ELEMENTS = ['input', 'textarea', 'ruffle-player']; //#endregion //#region store