From 408e35dad05c3bb9dea703458774d4c3f043e165 Mon Sep 17 00:00:00 2001 From: Craig Harshbarger Date: Fri, 3 Nov 2023 08:54:38 -0500 Subject: [PATCH] Don't hijack cmd + f or ctrl + f --- src/components/RunGraph.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/RunGraph.vue b/src/components/RunGraph.vue index cdd072a4..b049a9eb 100644 --- a/src/components/RunGraph.vue +++ b/src/components/RunGraph.vue @@ -87,7 +87,7 @@ useKeyDown(['c', 'f', 'Escape'], shortcutHandler) function shortcutHandler(event: KeyboardEvent): void { - if (eventTargetIsInput(event.target)) { + if (eventTargetIsInput(event.target) || event.metaKey || event.ctrlKey) { return }