From 6fda78da7e86df190cb7cc552c6716c6fc9b0574 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Mon, 17 Feb 2025 21:03:38 -0500 Subject: [PATCH] cmd+Enter submits timer --- src/components/timer.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/timer.vue b/src/components/timer.vue index e277de9..5ecb3d5 100644 --- a/src/components/timer.vue +++ b/src/components/timer.vue @@ -15,6 +15,9 @@ event.preventDefault() proxy.stop() } + if(event.key === 'Enter' && event.metaKey === true){ + proxy.submit(event) + } }) })