diff --git a/src/app/App.tsx b/src/app/App.tsx index 722131e2..bb8f8436 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -433,7 +433,10 @@ export function App({ store, initialStatusMessage }: AppProps) { return; } - if (event.code !== "NumpadComma" && !(event.key === "," && event.location === event.DOM_KEY_LOCATION_NUMPAD)) { + if ( + event.code !== "NumpadComma" && + !(event.key === "," && event.location === globalThis.KeyboardEvent.DOM_KEY_LOCATION_NUMPAD) + ) { return; } @@ -973,17 +976,7 @@ export function App({ store, initialStatusMessage }: AppProps) { - {runtimeMessage === null ? null : ( -