graphic design tool
git clone https://git.lucas.co/cce-designer.git
Network pane: the grid is flat lines again (paint_grid)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
src/render.rs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/render.rs b/src/render.rs
index 5dfcd19..0612353 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -456,10 +456,10 @@ impl State {
let mut bodies: Vec<(f32, f32, f32, f32, bool)> = Vec::new();
let mut overlays: Vec<(f32, f32, f32, f32, [f32; 4])> = Vec::new();
let mut seen_node = false;
- // The grid: relief carved into the pane plate (one lattice +
- // the two axis grooves), under the wires and nodes. Shading
- // only, so the pane stays the params plate's material.
- g.paint_grid_relief(clip, pc);
+ // The grid lines (flat, gap colour at the network opacity)
+ // and the origin axes, under the wires and nodes; the cells
+ // are the pane plate itself.
+ g.paint_grid(clip, pc);
for (qx, qy, qw, qh, qc, cell) in g.geometry_quads_tagged(clip) {
if g.is_node_rect(qx, qy, qw, qh) {
seen_node = true;