mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 23:31:21 -05:00
Add more shortcuts to workspace.
This commit is contained in:
parent
08e02800d2
commit
46ec80dd04
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
||||||
(defonce ^:static +shortcuts+
|
(defonce ^:static +shortcuts+
|
||||||
#{:ctrl+g
|
#{:ctrl+g
|
||||||
:ctrl+shift+f
|
:ctrl+shift+f
|
||||||
|
:ctrl+shift+i
|
||||||
:ctrl+shift+l})
|
:ctrl+shift+l})
|
||||||
|
|
||||||
(defonce ^:static ^:private +bus+
|
(defonce ^:static ^:private +bus+
|
||||||
|
@ -54,6 +55,10 @@
|
||||||
[_]
|
[_]
|
||||||
(rs/emit! (dw/toggle-toolbox :layers)))
|
(rs/emit! (dw/toggle-toolbox :layers)))
|
||||||
|
|
||||||
|
(defmethod -handle-event :ctrl+shift+i
|
||||||
|
[_]
|
||||||
|
(rs/emit! (dw/toggle-toolbox :icons)))
|
||||||
|
|
||||||
(defmethod -handle-event :ctrl+shift+f
|
(defmethod -handle-event :ctrl+shift+f
|
||||||
[_]
|
[_]
|
||||||
(rs/emit! (dw/toggle-toolbox :draw)))
|
(rs/emit! (dw/toggle-toolbox :draw)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue