🐛 Fix measurement shortcuts

This commit is contained in:
Eva Marco 2026-07-28 14:12:25 +02:00
parent 9294b30524
commit 1cf34cd022
3 changed files with 10 additions and 25 deletions

View File

@ -148,19 +148,12 @@
:section [:workspace]
:fn #(emit-when-no-readonly (dw/start-editing-selected))}
:start-measure {:tooltip (ds/alt "")
:command ["alt" "."]
:type "keydown"
:subsections [:edit]
:section [:workspace]
:fn #(emit-when-no-readonly (dw/toggle-distances-display true))}
:stop-measure {:tooltip (ds/alt "")
:command ["alt" "."]
:type "keyup"
:subsections [:edit]
:section [:workspace]
:fn #(emit-when-no-readonly (dw/toggle-distances-display false))}
:show-measure {:tooltip (ds/alt "")
:command ["alt" "."]
:type "keydown"
:subsections [:tools]
:section [:workspace]
:fn #(emit-when-no-readonly (dw/toggle-distances-display true))}
:escape {:tooltip (ds/esc)
:command "escape"

View File

@ -5631,12 +5631,8 @@ msgid "shortcuts.start-editing"
msgstr "Start editing"
#: src/app/main/ui/workspace/sidebar/shortcuts.cljs:182
msgid "shortcuts.start-measure"
msgstr "Start measurement"
#: src/app/main/ui/workspace/sidebar/shortcuts.cljs:183
msgid "shortcuts.stop-measure"
msgstr "Stop measurement"
msgid "shortcuts.show-measure"
msgstr "Show measurements"
#: src/app/main/ui/workspace/sidebar/shortcuts.cljs:184
msgid "shortcuts.thumbnail-set"

View File

@ -5486,12 +5486,8 @@ msgid "shortcuts.start-editing"
msgstr "Comenzar edición"
#: src/app/main/ui/workspace/sidebar/shortcuts.cljs:182
msgid "shortcuts.start-measure"
msgstr "Comenzar medida"
#: src/app/main/ui/workspace/sidebar/shortcuts.cljs:183
msgid "shortcuts.stop-measure"
msgstr "Terminar medida"
msgid "shortcuts.show-measure"
msgstr "Mostrar medidas"
#: src/app/main/ui/workspace/sidebar/shortcuts.cljs:184
msgid "shortcuts.thumbnail-set"