node-based graph editor
git clone https://git.lucas.co/cce-graph.git
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();