0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 07:11:32 -05:00

Add more shortcuts to workspace.

This commit is contained in:
Andrey Antukh 2015-12-24 19:36:29 +02:00
parent 08e02800d2
commit 46ec80dd04

View file

@ -15,6 +15,7 @@
(defonce ^:static +shortcuts+
#{:ctrl+g
:ctrl+shift+f
:ctrl+shift+i
:ctrl+shift+l})
(defonce ^:static ^:private +bus+
@ -54,6 +55,10 @@
[_]
(rs/emit! (dw/toggle-toolbox :layers)))
(defmethod -handle-event :ctrl+shift+i
[_]
(rs/emit! (dw/toggle-toolbox :icons)))
(defmethod -handle-event :ctrl+shift+f
[_]
(rs/emit! (dw/toggle-toolbox :draw)))