mirror of
https://github.com/Fenrir784/e621tagger.git
synced 2026-11-30 13:32:47 -08:00
JS Docs update
This commit is contained in:
1 parent
ffe1d50bbc
commit
32626a85c1
1 file changed
+4
-2
+4
-2
@@ -977,7 +977,7 @@ document.addEventListener('keydown', (e) => {
|
||||
toggleSettings(false);
|
||||
if (isFullscreenActive) hideFullscreenImage();
|
||||
}
|
||||
if ((e.key === 'f' || e.key === 'F') && !e.ctrlKey && !e.metaKey) {
|
||||
if (e.code === 'KeyF' && !e.ctrlKey && !e.metaKey) {
|
||||
if (isFullscreenActive) {
|
||||
hideFullscreenImage();
|
||||
} else {
|
||||
@@ -1058,9 +1058,11 @@ function hideFullscreenImage() {
|
||||
|
||||
### Keyboard Shortcuts
|
||||
|
||||
> **Note:** Uses `e.code` for layout-independent key detection (works on all keyboard layouts).
|
||||
|
||||
| Key | Action |
|
||||
|-----|--------|
|
||||
| `F` | Toggle fullscreen (open/close) |
|
||||
| `F` (or `KeyF` position) | Toggle fullscreen (open/close) |
|
||||
| `ESC` | Close fullscreen |
|
||||
|
||||
### Overlay Click
|
||||
|
||||
Reference in new issue
Block a user