diff options
author | 2024-10-22 02:53:30 +0200 | |
---|---|---|
committer | 2024-11-05 23:52:57 +0100 | |
commit | 0691e617f31aab92cb5ddc4698f841357f4c14ec (patch) | |
tree | 1f307567db4bb0aba17925553f0add9a638d8022 /winit | |
parent | 52490397d64f187d55f51dc5883e3ba6c0da57a6 (diff) | |
download | iced-0691e617f31aab92cb5ddc4698f841357f4c14ec.tar.gz iced-0691e617f31aab92cb5ddc4698f841357f4c14ec.tar.bz2 iced-0691e617f31aab92cb5ddc4698f841357f4c14ec.zip |
Fix `WindowManager::is_idle` in `iced_winit`
Diffstat (limited to 'winit')
-rw-r--r-- | winit/src/program/window_manager.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winit/src/program/window_manager.rs b/winit/src/program/window_manager.rs index 7c00a84b..10a973fe 100644 --- a/winit/src/program/window_manager.rs +++ b/winit/src/program/window_manager.rs @@ -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> { |