From efa4d9f80f404f48d1701c0e590ca7f153f56d57 Mon Sep 17 00:00:00 2001 From: Nathan DECHER Date: Mon, 13 Apr 2020 22:54:17 +0200 Subject: [PATCH] fixed #32 --- src/js/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/main.js b/src/js/main.js index 5cbd3bf..7af75fa 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -58,6 +58,7 @@ resizeCanvas(); window.addEventListener('resize', resizeCanvas); window.addEventListener('keydown', async e => { + if(e.target.tagName.toLowerCase()=='input') return; if(e.key=='f') { if(document.fullscreenElement) await document.exitFullscreen(); else await main.requestFullscreen();