mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-12-22 12:28:19 -06:00
fix alpha
This commit is contained in:
parent
aafb219b6b
commit
da61904a5a
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue