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:
parent
1cc1d94a27
commit
b48bfde5c8
1 changed files with 3 additions and 1 deletions
|
@ -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])]))
|
||||
|
|
Loading…
Reference in a new issue