summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-14 19:33:18 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-14 19:34:11 +0100
commitcc8b326dfc84aaea3a570c9ad129eb8aaedfcb8c (patch)
treefec369616216bcccdae508967b4831fbf1abf4bd
parenta2b36e6551e29071f7dd115c7dda8ecd4ad0ca08 (diff)
downloadiced-cc8b326dfc84aaea3a570c9ad129eb8aaedfcb8c.tar.gz
iced-cc8b326dfc84aaea3a570c9ad129eb8aaedfcb8c.tar.bz2
iced-cc8b326dfc84aaea3a570c9ad129eb8aaedfcb8c.zip
Fix priority of redraw requests in `winit` shell
-rw-r--r--winit/src/program.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/winit/src/program.rs b/winit/src/program.rs
index 7ead4c3b..9a64fa51 100644
--- a/winit/src/program.rs
+++ b/winit/src/program.rs
@@ -363,7 +363,7 @@ where
(
ControlFlow::WaitUntil(current),
ControlFlow::WaitUntil(new),
- ) if new < current => {}
+ ) if current < new => {}
(
ControlFlow::WaitUntil(target),
ControlFlow::Wait,