From 8bc2c19361452a6cfa0a2c3700d033b080ed048a Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Wed, 29 May 2024 21:35:50 -0700 Subject: [PATCH] prevent double-tab zoom on action pad (#1593) --- src/touch-controls.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/touch-controls.ts b/src/touch-controls.ts index d5b42779b20..759d988b61f 100644 --- a/src/touch-controls.ts +++ b/src/touch-controls.ts @@ -16,6 +16,7 @@ let lastTouchedId: string; */ export function initTouchControls(buttonMap: ButtonMap) { preventElementZoom(document.querySelector("#dpad")); + preventElementZoom(document.querySelector("#apad")); for (const button of document.querySelectorAll("[data-key]")) { bindKey(button, button.dataset.key, buttonMap);