Skip to content

Commit

Permalink
Fix WindowManager::is_idle in iced_winit
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Oct 22, 2024
1 parent 1f32bbc commit 269dc73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winit/src/program/window_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ where
pub fn is_idle(&self) -> bool {
self.entries
.values()
.any(|window| window.redraw_at.is_some())
.all(|window| window.redraw_at.is_none())
}

pub fn redraw_at(&self) -> Option<Instant> {
Expand Down

0 comments on commit 269dc73

Please sign in to comment.