Change tool names and shortcuts

This commit is contained in:
Andrés Moya 2020-11-30 08:55:36 +01:00 committed by Andrey Antukh
parent df95bd7010
commit 6390af0827
3 changed files with 11 additions and 11 deletions

View file

@ -1651,7 +1651,7 @@
"ctrl+y" #(st/emit! dwc/redo)
"ctrl+q" #(st/emit! dwc/reinitialize-undo)
"a" #(st/emit! (dwd/select-for-drawing :frame))
"b" #(st/emit! (dwd/select-for-drawing :rect))
"r" #(st/emit! (dwd/select-for-drawing :rect))
"e" #(st/emit! (dwd/select-for-drawing :circle))
"t" #(st/emit! dwtxt/start-edit-if-selected
(dwd/select-for-drawing :text))

View file

@ -66,7 +66,7 @@
:on-click (partial select-drawtool :rect)}
i/box]
[:li.tooltip.tooltip-right
{:alt (t locale "workspace.toolbar.circle")
{:alt (t locale "workspace.toolbar.ellipse")
:class (when (= selected-drawtool :circle) "selected")
:on-click (partial select-drawtool :circle)}
i/circle]