git.lucas.co / cce-fonts
font browser

commit8ad9987f8da907047100e40b259d4a95c53ca2b4
parent4755d7717b
authorLucas Galante <[email protected]>
date2026-06-28 07:52
Remove flat window background quad to avoid over-drawing Backplate's rounded corners

 src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index 80ed6da..e516c2f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -827,7 +827,7 @@ impl Application for TypefaceApp {
             (base_low[2] * 1.17).min(1.0),
             base_low[3],
         ];
-        quads.push((0.0, 0.0, w_f32, h_f32, bg_color));
+        self.root_window.background_color = Some(bg_color);
 
         // Draw active containers and all child widgets (including panel plates)
         quads.extend(self.root_window.all_quads(&self.ui_context));