0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

Cosmetic fixes on workarea related to toolboxes code.

This commit is contained in:
Andrey Antukh 2015-12-27 15:28:57 +02:00
parent 88d1030e12
commit 3c093c7d51

View file

@ -11,7 +11,7 @@
[uxbox.data.projects :as dp]
[uxbox.ui.workspace.base :as wb]
[uxbox.ui.workspace.rules :as wr]
[uxbox.ui.workspace.toolboxes :refer (draw-toolbox layers)]))
[uxbox.ui.workspace.toolboxes :as toolboxes]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Coordinates Debug
@ -248,13 +248,11 @@
[:aside#settings-bar.settings-bar
[:div.settings-bar-inside
(when (:draw-toolbox-enabled workspace false)
(draw-toolbox))
#_(when (:icons open-setting-boxes)
(icon-sets open-toolboxes))
#_(when (:components open-setting-boxes)
(components open-toolboxes components))
(toolboxes/draw-tools))
(when (:icons-toolbox-enabled workspace false)
(toolboxes/icons))
(when (:layers-toolbox-enabled workspace false)
(layers))]])))
(toolboxes/layers))]])))
(def aside
(util/component