Skip to content

Commit

Permalink
macro buttons autoselect text and hide reset button if not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeKeck committed Aug 10, 2024
1 parent 4ea28aa commit 5b51bf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/widgets/macros/MacroBtn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@
spellcheck="false"
class="console-command"
:class="{ 'mb-3': (i < paramList.length - 1) }"
@focus="$event.target.select()"
>
<template #append>
<app-btn
v-if="params[param].value !== params[param].reset"
style="margin-top: -4px; margin-right: -6px;"
color=""
icon
Expand Down
1 change: 1 addition & 0 deletions src/components/widgets/toolhead/ToolHeadIdexControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
spellcheck="false"
class="console-command"
:class="{ 'mb-3': (i < paramList.length - 1) }"
@focus="$event.target.select()"
>
<template #append>
<app-btn
Expand Down

0 comments on commit 5b51bf8

Please sign in to comment.