From 9bc406f413e4a2cdf129368cc7fb67d79687f4e8 Mon Sep 17 00:00:00 2001 From: Olive Vaughn Date: Sun, 4 Oct 2026 02:12:06 -0400 Subject: [PATCH] Show project settings only when the root is selected --- frontend/src/arthur/ui/params.cljs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/arthur/ui/params.cljs b/frontend/src/arthur/ui/params.cljs index 5e56c99..054c837 100644 --- a/frontend/src/arthur/ui/params.cljs +++ b/frontend/src/arthur/ui/params.cljs @@ -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])