0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 17:21:17 -05:00

Add hide functionality to group members.

This commit is contained in:
Andrey Antukh 2016-01-21 18:31:34 +02:00
parent 970074d7d6
commit 073281f2fa

View file

@ -48,7 +48,9 @@
shapes-by-id (get @st/state :shapes-by-id)]
(html
[:g attrs
(for [item (map #(get shapes-by-id %) items)]
(for [item (->> items
(map #(get shapes-by-id %))
(remove :hidden))]
(shapes/-render item nil))])))
(defmethod shapes/-render-svg :builtin/icon