mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -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"
|
:title "SETS"
|
||||||
:on-collapsed #(swap! open? not)}]
|
:on-collapsed #(swap! open? not)}]
|
||||||
[:button {:class (stl/css :add-set)
|
[:button {:class (stl/css :add-set)
|
||||||
:on-click on-set-add-click}
|
:on-click #(do
|
||||||
|
(reset! open? true)
|
||||||
|
(on-set-add-click %))}
|
||||||
i/add]]
|
i/add]]
|
||||||
(when @open?
|
(when @open?
|
||||||
[:& sets-list])]))
|
[:& sets-list])]))
|
||||||
|
|
Loading…
Reference in a new issue