mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-22 07:08:42 -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 => {
|
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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue