fix alpha

This commit is contained in:
griffi-gh 2024-03-01 20:49:41 +01:00
parent 1d48a386cb
commit cca9890600

View file

@ -44,7 +44,7 @@ pub fn ui<T>(mut init: impl FnMut(&mut UiInstance) -> T, mut draw: impl FnMut(&m
}, },
WindowEvent::RedrawRequested => { WindowEvent::RedrawRequested => {
let mut frame = display.draw(); 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(); hui.begin();