From 0254fc9c60d24476dc5679450e6c78f4d83e139c Mon Sep 17 00:00:00 2001 From: Agustin Mista Date: Fri, 27 Oct 2023 10:33:24 +0000 Subject: [PATCH] Fix broken save modal text input --- src/components/Keyboard/KeyboardController.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Keyboard/KeyboardController.vue b/src/components/Keyboard/KeyboardController.vue index 96f4a7f..d8af56a 100644 --- a/src/components/Keyboard/KeyboardController.vue +++ b/src/components/Keyboard/KeyboardController.vue @@ -85,7 +85,7 @@ function presetChosen(preset: ColorMap) { // Handle global key presses function onKeyPress(event: KeyboardEvent) { - event.preventDefault() + // We don't preventDefault so the save modal doesn't break :) switch (event.key) { case 'a': selectAll()