fix: actually paint the gui

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-10-21 01:16:36 -03:00
parent c7adf54976
commit 85940c8744
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ fn main() {
}
Event::RedrawRequested(..) => {
app.update_time(start_time.elapsed().as_secs_f64());
app.paint(&cpu);
}
Event::WindowEvent { event, .. } => match event {
WindowEvent::Resized(size) => app.resize(size),