Many performance improvements on workspace.

This commit is contained in:
Andrey Antukh 2017-01-31 17:02:33 +01:00
parent 3fdce853d0
commit 6c1955c0d9
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
12 changed files with 120 additions and 127 deletions

View file

@ -62,6 +62,14 @@
(-> (l/key :zoom)
(l/derive workspace)))
(def selected-tooltip
(-> (l/key :tooltip)
(l/derive workspace)))
(def selected-drawing-tool
(-> (l/key :drawing-tool)
(l/derive workspace)))
(defn alignment-activated?
[state]
(let [flags (l/focus ul/workspace-flags state)]