git.lucas.co / cce-graph
node-based graph editor
git clone https://git.lucas.co/cce-graph.git

commita52d6f55b4cd6eed7b3796614f4583ba9a77ed06
parentac01b03df2
authorLucas Galante <[email protected]>
date2026-07-03 15:58
fix: resolve square bottom corners of Graph background

 src/main.rs | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index 86c351e..77f3a95 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -656,12 +656,7 @@ impl Application for GraphApp {
         // 1. Root window / child quads collected recursively (includes MenuBar background when flat, Graph extra quads, etc.)
         quads.extend(self.root_window.all_quads(&self.ui_context));
 
-        // 2. Add Graph background color manually if uniform background is active (Graph uses default all_quads which doesn't push it)
-        let graph_color = self.graph.color();
-        if graph_color[3] > 0.0 {
-            let (gx, gy, gw, gh) = self.graph.rect();
-            quads.push((gx, gy, gw, gh, graph_color));
-        }
+
 
         // Draw foreground images in the graph grid (above nodes, fully opaque, preserving aspect ratio)
         let (grid_origin_x, grid_origin_y) = self.graph.grid_origin();