mirror of
https://github.com/penpot/penpot.git
synced 2025-07-08 11:47:17 +02:00
✨ Add move shortcut
This commit is contained in:
parent
d4fab3b46c
commit
a952f7369c
14 changed files with 17 additions and 12 deletions
|
@ -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))}
|
||||
|
|
|
@ -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)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue