From ec06247ad207cc7399371f19d597ac40ddc0f4f0 Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Sat, 9 Jan 2021 22:43:45 -0800 Subject: [PATCH] fix floating window foreground --- src/renderer/rendered_window.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/rendered_window.rs b/src/renderer/rendered_window.rs index e2b18ea..a5ed1d9 100644 --- a/src/renderer/rendered_window.rs +++ b/src/renderer/rendered_window.rs @@ -320,6 +320,8 @@ impl RenderedWindow { } { + paint.set_color(Color::WHITE); + // Save layer so that text may safely overwrite images underneath root_canvas.save_layer(&SaveLayerRec::default());