0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

Automatically open when creating set

This commit is contained in:
Florian Schroedl 2024-08-23 11:43:19 +02:00
parent 1cc1d94a27
commit b48bfde5c8

View file

@ -241,7 +241,9 @@
:title "SETS"
:on-collapsed #(swap! open? not)}]
[:button {:class (stl/css :add-set)
:on-click on-set-add-click}
:on-click #(do
(reset! open? true)
(on-set-add-click %))}
i/add]]
(when @open?
[:& sets-list])]))