Refactor to prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-05-06 14:30:01 +02:00
parent ef03265a77
commit 78839b69c3

View File

@ -157,7 +157,8 @@ impl ApplicationHandler for DisplayState {
}
fn about_to_wait(&mut self, _: &ActiveEventLoop) {
self.window.window().request_redraw();
let window = &self.window;
window.window().request_redraw();
}
}