diff --git a/ui/media/js/image-editor.js b/ui/media/js/image-editor.js index 3be8f95f..30026e02 100644 --- a/ui/media/js/image-editor.js +++ b/ui/media/js/image-editor.js @@ -722,6 +722,8 @@ class ImageEditor { let toolIndex = IMAGE_EDITOR_TOOLS.findIndex( t => t.hotkey ==event.key ) if (toolIndex != -1) { this.selectOption("tool", toolIndex) + event.stopPropagation() + event.preventDefault() } } }