Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tedsteen committed Oct 6, 2024
1 parent 55d89b2 commit 0cfa02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ impl ApplicationHandler for Application {
WindowEvent::RedrawRequested => {
// Windows needs this to not freeze the window when resizing or moving
#[cfg(windows)]
if let Some(window) = self.window() {
if let Some(window) = self.window {
window.request_redraw();
}
self.render();
Expand Down

0 comments on commit 0cfa02d

Please sign in to comment.