Fix WindowManager::is_idle in iced_winit

This commit is contained in:
Héctor Ramón Jiménez 2024-10-22 02:53:30 +02:00
parent 52490397d6
commit 0691e617f3
No known key found for this signature in database
GPG key ID: 4C07CEC81AFA161F

View file

@ -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> {