From da61904a5a37c4f869c05ead8c6ff04de5ee7137 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Fri, 1 Mar 2024 20:49:41 +0100 Subject: [PATCH] fix alpha --- hui-examples/boilerplate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hui-examples/boilerplate.rs b/hui-examples/boilerplate.rs index 177d9c4..3373419 100644 --- a/hui-examples/boilerplate.rs +++ b/hui-examples/boilerplate.rs @@ -44,7 +44,7 @@ pub fn ui(mut init: impl FnMut(&mut UiInstance) -> T, mut draw: impl FnMut(&m }, WindowEvent::RedrawRequested => { let mut frame = display.draw(); - frame.clear_color_srgb(0.5, 0.5, 0.5, 0.); + frame.clear_color_srgb(0.5, 0.5, 0.5, 1.); hui.begin();