Show project settings only when the root is selected
This commit is contained in:
parent
1c520e6a68
commit
9bc406f413
1 changed files with 3 additions and 2 deletions
|
|
@ -811,8 +811,9 @@
|
||||||
[:section.pane.params
|
[:section.pane.params
|
||||||
[:div.pane-head "inspector"]
|
[:div.pane-head "inspector"]
|
||||||
[:div {:style {:min-height 0}}
|
[:div {:style {:min-height 0}}
|
||||||
(if palette-placement?
|
(when palette-placement? [palette-placement-section node])
|
||||||
[palette-placement-section node]
|
(when (and (= :main open)
|
||||||
|
(or (nil? selection) (= [:symbol :main] selection)))
|
||||||
[clip-section])
|
[clip-section])
|
||||||
(when (and node (not palette-placement?)) [node-section node])
|
(when (and node (not palette-placement?)) [node-section node])
|
||||||
(when (and placed (not palette-placement?)) [instance-playback node])
|
(when (and placed (not palette-placement?)) [instance-playback node])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue