Sfoglia il codice sorgente

don't block regular keyboard shortcuts

Lucas Stadler 10 anni fa
parent
commit
f44f684995
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      glsl/raymarching.js

+ 1 - 1
glsl/raymarching.js

@ -237,7 +237,7 @@ void main() {
237 237
    });
238 238
    
239 239
    window.addEventListener('keydown', function(ev) {
240
      if (document.activeElement != document.body) {
240
      if (document.activeElement != document.body || ev.ctrlKey || ev.altKey) {
241 241
        return;
242 242
      }
243 243