diff --git a/ezgui/src/event_ctx.rs b/ezgui/src/event_ctx.rs index 31fc0b8a0f..cda4e9e34c 100644 --- a/ezgui/src/event_ctx.rs +++ b/ezgui/src/event_ctx.rs @@ -40,6 +40,7 @@ impl<'a> EventCtx<'a> { pub fn redo_mouseover(&self) -> bool { self.input.window_lost_cursor() || (!self.canvas.is_dragging() && self.input.get_moved_mouse().is_some()) + || self.input.get_mouse_scroll().is_some() } pub fn texture(&self, filename: &str) -> Color {