mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -05:00
🐾 adds class to icon layers
This commit is contained in:
parent
c4caba9016
commit
eaed5a580c
1 changed files with 2 additions and 1 deletions
|
@ -145,7 +145,8 @@
|
|||
:class (dom/classnames
|
||||
:selected selected?
|
||||
:dragging-TODO (:dragging? dprops))}
|
||||
[:div.element-list-body {:class (dom/classnames :selected selected?)
|
||||
[:div.element-list-body {:class (dom/classnames :selected selected?
|
||||
:icon-layer (= (:type item) :icon))
|
||||
:on-click select-shape
|
||||
:on-double-click #(dom/stop-propagation %)}
|
||||
[:& element-icon {:shape item}]
|
||||
|
|
Loading…
Add table
Reference in a new issue