fix: actually paint the gui
This commit is contained in:
parent
c7adf54976
commit
85940c8744
|
@ -121,6 +121,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
Event::RedrawRequested(..) => {
|
Event::RedrawRequested(..) => {
|
||||||
app.update_time(start_time.elapsed().as_secs_f64());
|
app.update_time(start_time.elapsed().as_secs_f64());
|
||||||
|
app.paint(&cpu);
|
||||||
}
|
}
|
||||||
Event::WindowEvent { event, .. } => match event {
|
Event::WindowEvent { event, .. } => match event {
|
||||||
WindowEvent::Resized(size) => app.resize(size),
|
WindowEvent::Resized(size) => app.resize(size),
|
||||||
|
|
Loading…
Reference in New Issue