0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 17:18:21 -05:00

Fix default value for collapsed attribute.

This commit is contained in:
Andrey Antukh 2017-01-11 20:03:15 +01:00
parent 0bd8847f56
commit f26e1eb70f
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -212,7 +212,7 @@
toggle-blocking #(toggle-blocking item %)]
(letfn [(toggle-collapse [event]
(dom/stop-propagation event)
(if (:collapsed item)
(if (:collapsed item true)
(st/emit! (uds/uncollapse-shape id))
(st/emit! (uds/collapse-shape id))))
(toggle-locking [event]