fix alpha

This commit is contained in:
griffi-gh 2024-03-01 20:49:41 +01:00
parent aafb219b6b
commit da61904a5a

View file

@ -44,7 +44,7 @@ pub fn ui<T>(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();