From c29b602e4f1ecae369230134ca383ed1fe17ee75 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Wed, 16 Oct 2024 09:50:37 -0400 Subject: [PATCH] background color fix --- tiny_skia/src/window/compositor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_skia/src/window/compositor.rs b/tiny_skia/src/window/compositor.rs index e469065d3e..cc887d04bb 100644 --- a/tiny_skia/src/window/compositor.rs +++ b/tiny_skia/src/window/compositor.rs @@ -72,7 +72,7 @@ impl crate::graphics::Compositor for Compositor { clip_mask: tiny_skia::Mask::new(width, height) .expect("Create clip mask"), layer_stack: VecDeque::new(), - background_color: Color::BLACK, + background_color: Color::TRANSPARENT, max_age: 0, };