Add move shortcut

This commit is contained in:
eva 2022-01-03 17:00:38 +01:00 committed by Alonso Torres
parent d4fab3b46c
commit a952f7369c
14 changed files with 17 additions and 12 deletions

View file

@ -137,6 +137,10 @@
:command "a"
:fn #(st/emit! (dwd/select-for-drawing :frame))}
:move {:tooltip "V"
:command "v"
:fn #(st/emit! :interrupt)}
:draw-rect {:tooltip "R"
:command "r"
:fn #(st/emit! (dwd/select-for-drawing :rect))}

View file

@ -67,7 +67,7 @@
[:div.left-toolbar-inside
[:ul.left-toolbar-options
[:li.tooltip.tooltip-right
{:alt (tr "workspace.toolbar.move")
{:alt (tr "workspace.toolbar.move" (sc/get-tooltip :move))
:class (when (and (nil? selected-drawtool)
(not edition)) "selected")
:on-click (st/emitf :interrupt)}