Fix WindowManager::is_idle in iced_winit
This commit is contained in:
parent
52490397d6
commit
0691e617f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue