git.lucas.co / cce-designer
graphic design tool
git clone https://git.lucas.co/cce-designer.git

commit2f2a2d17e5c30c26860ab4c4043c354e651dcaea
parentc2377c5c4b
authorLucas Galante <[email protected]>
date2026-09-20 20:30
Network pane: stop painting the graph's own background over the plate

The content arm drew the graph widget's background — the cell colour at
the network opacity, a flat blue-grey — on top of the pane's frosted
plate, which PassivePlate already provides. Measured in a shadow: the
one layer that gave the network pane a hue no other pane had. The plate
still follows the Show Network Plate switch in the generic arm.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

 src/render.rs | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/render.rs b/src/render.rs
index 0612353..0870bef 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -415,13 +415,12 @@ impl State {
             } else {
                 clip
             };
-            // The plate is skipped entirely when it is switched off, so the
-            // graph draws straight onto whatever is behind the pane — which,
-            // the viewport being full-bleed, is the 3D scene.
-            if (second || !self.circular_network_pane) && self.network_plate {
-                let (wx, wy, ww2, wh2) = w.rect();
-                append_widget_plate_radii(w, pc, self.plate_focus_tint(idx), self.pane_plate_radii(wx, wy, ww2, wh2));
-            }
+            // No plate here: the pane's plate is NETWORK_PANEL_IDX's
+            // PassivePlate (the params material, gated on `network_plate`
+            // in the generic arm). Until 2026-09-20 this arm ALSO painted
+            // the graph widget's own background over it — the cell colour
+            // at the network opacity, a flat blue-grey wash that predated
+            // the plate and made the network pane the one pane with a hue.
 
             pc.clip(clip, |pc| {
                 // Node bodies wear the parameter plate's fill exactly — same