mirror of
https://github.com/penpot/penpot.git
synced 2025-02-15 03:28:25 -05:00
✨ add V as shortcut to exit path editor
This commit is contained in:
parent
88e222420c
commit
327c095d79
1 changed files with 2 additions and 4 deletions
|
@ -73,7 +73,7 @@
|
||||||
:fn #(st/emit! (drp/toggle-snap))}
|
:fn #(st/emit! (drp/toggle-snap))}
|
||||||
|
|
||||||
:escape {:tooltip (ds/esc)
|
:escape {:tooltip (ds/esc)
|
||||||
:command ["escape" "enter"]
|
:command ["escape" "enter" "v"]
|
||||||
:fn #(st/emit! (esc-pressed))}
|
:fn #(st/emit! (esc-pressed))}
|
||||||
|
|
||||||
:undo {:tooltip (ds/meta "Z")
|
:undo {:tooltip (ds/meta "Z")
|
||||||
|
@ -138,9 +138,7 @@
|
||||||
|
|
||||||
:move-unit-right {:tooltip ds/left-arrow
|
:move-unit-right {:tooltip ds/left-arrow
|
||||||
:command "left"
|
:command "left"
|
||||||
:fn #(st/emit! (drp/move-selected :left false))}
|
:fn #(st/emit! (drp/move-selected :left false))}})
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
(defn get-tooltip [shortcut]
|
(defn get-tooltip [shortcut]
|
||||||
(assert (contains? shortcuts shortcut) (str shortcut))
|
(assert (contains? shortcuts shortcut) (str shortcut))
|
||||||
|
|
Loading…
Add table
Reference in a new issue