mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
10e2fbd499
When using fullscreen mode, hitting the escape key will exit out of fullscreen mode. To stay in fullscreen mode but pass the escape key through, we can use the Keyboard API to require the escape key be held down https://wicg.github.io/keyboard-lock/#escape-key. Tested in Chrome which supports Keyboard API and Firefox which does not https://caniuse.com/?search=navigator.keyboard with no errors in either case. |
||
---|---|---|
.. | ||
eventemitter3.d.ts | ||
navigator.keyboard.d.ts | ||
shims-scss.d.ts | ||
shims-tsx.d.ts | ||
shims-vue.d.ts |