Show project settings only when the root is selected

This commit is contained in:
Olive Vaughn 2026-10-04 02:12:06 -04:00
parent 1c520e6a68
commit 9bc406f413

View file

@ -811,8 +811,9 @@
[:section.pane.params
[:div.pane-head "inspector"]
[:div {:style {:min-height 0}}
(if palette-placement?
[palette-placement-section node]
(when palette-placement? [palette-placement-section node])
(when (and (= :main open)
(or (nil? selection) (= [:symbol :main] selection)))
[clip-section])
(when (and node (not palette-placement?)) [node-section node])
(when (and placed (not palette-placement?)) [instance-playback node])