Add draw toolbox rendering on workarea.

This commit is contained in:
Andrey Antukh 2015-12-18 19:14:57 +02:00
parent 2742db8dfd
commit 5fddf7ca4d
5 changed files with 108 additions and 39 deletions

View file

@ -27,17 +27,17 @@
[:ul.main-tools
[:li.tooltip
{:alt "Shapes (Ctrl + Shift + F)"
:class (when (:tools-enabled workspace false) "current")
:on-click (partial toggle :tools)}
:class (when (:draw-toolbox-enabled workspace false) "current")
:on-click (partial toggle :draw)}
i/shapes]
[:li.tooltip
{:alt "Icons (Ctrl + Shift + I)"
:class (when (:icons-enabled workspace false) "current")
:class (when (:icons-toolbox-enabled workspace false) "current")
:on-click (partial toggle :icons)}
i/icon-set]
[:li.tooltip
{:alt "Elements (Ctrl + Shift + L)"
:class (when (:layers-enabled workspace false) "current")
:class (when (:layers-toolbox-enabled workspace false) "current")
:on-click (partial toggle :layers)}
i/layers]
[:li.tooltip