Align source code formatting

This commit is contained in:
patriceac 2023-04-01 00:00:19 -07:00 committed by GitHub
parent 0b5c5b646f
commit 1429a44f0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -672,17 +672,17 @@ class ImageEditor {
else { else {
this.history.redo() this.history.redo()
} }
event.stopPropagation(); event.stopPropagation();
event.preventDefault(); event.preventDefault();
} }
if (event.key == "y" && event.ctrlKey) { if (event.key == "y" && event.ctrlKey) {
this.history.redo() this.history.redo()
event.stopPropagation(); event.stopPropagation();
event.preventDefault(); event.preventDefault();
} }
if (event.key === "Escape") { if (event.key === "Escape") {
this.hide() this.hide()
event.stopPropagation(); event.stopPropagation();
event.preventDefault(); event.preventDefault();
} }
} }