Skip to content

Commit 1a08db9

Browse files
Merge pull request #62 from theohbrothers/enhancement/gallery-make-esc-only-escape-out-of-stretchx-or-stretchy-modes
Enhancement (gallery): Make `ESC` only escape out of `stretchx` or `stretchy` modes
2 parents 9b01bc9 + cab6e5c commit 1a08db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webize

+1-1
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ EOF
910910
}
911911
// ESC key (if in full screen, escapes full screen first, goes back to tiled view, and tiles smaller)
912912
if (keyCode === 27) {
913-
setMode("tilesmaller");
913+
setMode("tilesmaller", true);
914914
event.preventDefault();
915915
}
916916

0 commit comments

Comments
 (0)