diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2022-10-25 20:38:37 +0100 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2022-10-25 20:38:37 +0100 |
| commit | 5fae5ca0db6a263d385c05cb6cfef5e3e3b18630 (patch) | |
| tree | f5ceb3c2502bc0b048269ad75e2a7028fad34b66 /PuzzleApplet.java | |
| parent | e6faebeb9a1856c9ea7140eb650b48ada0adc923 (diff) | |
| download | puzzles-5fae5ca0db6a263d385c05cb6cfef5e3e3b18630.zip puzzles-5fae5ca0db6a263d385c05cb6cfef5e3e3b18630.tar.gz puzzles-5fae5ca0db6a263d385c05cb6cfef5e3e3b18630.tar.bz2 puzzles-5fae5ca0db6a263d385c05cb6cfef5e3e3b18630.tar.xz | |
js: Be more subtle about cancelling keydown events
Now we only cancel a keydown event if the C keyboard handler recognises
the key and passes it on to the midend. This doesn't necessarily mean
that the midend has actually done anything with it, of course. Still,
this is enough to allow F12 to open the developer tools even when the
input focus is on the puzzle. It also allows for tabbing out of the
puzzle into the links below it.
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions