Ver Código Fonte

don't block regular keyboard shortcuts

Lucas Stadler 10 anos atrás
pai
commit
f44f684995
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      glsl/raymarching.js

+ 1 - 1
glsl/raymarching.js

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