prevent double-tab zoom on action pad (#1593)
This commit is contained in:
parent
48f2ecf39a
commit
8bc2c19361
|
@ -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<HTMLElement>("[data-key]")) {
|
||||
bindKey(button, button.dataset.key, buttonMap);
|
||||
|
|
Loading…
Reference in New Issue