From 5b51bf816a8dadcbda1a2d0c4aa71d06245304d5 Mon Sep 17 00:00:00 2001 From: HelgeKeck Date: Sat, 10 Aug 2024 13:44:01 +0200 Subject: [PATCH] macro buttons autoselect text and hide reset button if not needed --- src/components/widgets/macros/MacroBtn.vue | 2 ++ src/components/widgets/toolhead/ToolHeadIdexControl.vue | 1 + 2 files changed, 3 insertions(+) diff --git a/src/components/widgets/macros/MacroBtn.vue b/src/components/widgets/macros/MacroBtn.vue index a919d526d7..644c383adf 100644 --- a/src/components/widgets/macros/MacroBtn.vue +++ b/src/components/widgets/macros/MacroBtn.vue @@ -50,9 +50,11 @@ spellcheck="false" class="console-command" :class="{ 'mb-3': (i < paramList.length - 1) }" + @focus="$event.target.select()" >