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. |
||
---|---|---|
.. | ||
.vscode | ||
public | ||
src | ||
tools | ||
.babelrc | ||
.browserslistrc | ||
.editorconfig | ||
.env.development | ||
.eslintrc | ||
.prettierrc | ||
package.json | ||
tsconfig.json | ||
vue.config.js |