mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 12:46:39 +02:00
♻️ Refactor shortcuts and change image shortcut
This commit is contained in:
parent
7033ae4f2e
commit
ebb6df4696
9 changed files with 50 additions and 50 deletions
|
@ -155,8 +155,8 @@
|
|||
:command "c"
|
||||
:fn #(st/emit! (dwd/select-for-drawing :comments))}
|
||||
|
||||
:insert-image {:tooltip "K"
|
||||
:command "k"
|
||||
:insert-image {:tooltip (ds/shift "K")
|
||||
:command "shift+k"
|
||||
:fn #(-> "image-upload" dom/get-element dom/click)}
|
||||
|
||||
:copy {:tooltip (ds/meta "C")
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
(st/emit! (dw/upload-media-workspace params)))))]
|
||||
|
||||
[:li.tooltip.tooltip-right
|
||||
{:alt (tr "workspace.toolbar.image")
|
||||
{:alt (tr "workspace.toolbar.image" (sc/get-tooltip :insert-image))
|
||||
:on-click on-click}
|
||||
[:*
|
||||
i/image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue