mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-25 16:38:55 +01:00
Merge pull request #729 from patriceac/patch-12
ESC keyboard shortcut to close the image editor
This commit is contained in:
commit
7832524963
@ -604,6 +604,9 @@ class ImageEditor {
|
||||
if (event.key == "y" && event.ctrlKey) {
|
||||
this.history.redo()
|
||||
}
|
||||
if (event.key === "Escape") {
|
||||
this.hide()
|
||||
}
|
||||
}
|
||||
|
||||
// dropper ctrl holding handler stuff
|
||||
|
Loading…
Reference in New Issue
Block a user