From 4cf279bb5a051be3430f66cdc634e580e1bd4166 Mon Sep 17 00:00:00 2001 From: Olive Vaughn Date: Sun, 11 Oct 2026 12:51:58 -0400 Subject: [PATCH] A measured channel has no gap to switch, so the inspector doesn't read it The hold/tween switch read every channel's value without the dense store, so opening a roto symbol threw on its measured mouth. Find the gap first; a measured channel has no keys and is never read. Co-Authored-By: Claude Opus 5.5 --- frontend/src/arthur/ui/params.cljs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/src/arthur/ui/params.cljs b/frontend/src/arthur/ui/params.cljs index 0747888..3b75692 100644 --- a/frontend/src/arthur/ui/params.cljs +++ b/frontend/src/arthur/ui/params.cljs @@ -170,8 +170,11 @@ (defn- gap-switch [ch path frame set-gap!] (let [ks (sort (keys (:keys ch))) - left (when-not (node/hold-only? path (channel/value-at ch (or frame 0) nil)) - (gap-at ks frame)) + ;; Only a channel with a gap between keys is read; a measured one has + ;; no keys, and its value lives in a store the inspector doesn't hold. + left (when-let [l (gap-at ks frame)] + (when-not (node/hold-only? path (channel/value-at ch frame nil)) + l)) tween? (and left (= :linear (channel/segment-interp ch left)))] (if left [:button.gap {:class (when tween? "on")