From d90db12e88ad4767fc40779f9c2178f20d493a89 Mon Sep 17 00:00:00 2001 From: Konkitoman Date: Tue, 22 Aug 2023 11:33:38 +0300 Subject: [PATCH] Fix: window not redrawing when moving --- crates/egui-winit/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui-winit/src/lib.rs b/crates/egui-winit/src/lib.rs index e02143990..146802982 100644 --- a/crates/egui-winit/src/lib.rs +++ b/crates/egui-winit/src/lib.rs @@ -392,6 +392,7 @@ impl State { | WindowEvent::Destroyed | WindowEvent::Occluded(_) | WindowEvent::Resized(_) + | WindowEvent::Moved(_) | WindowEvent::ThemeChanged(_) | WindowEvent::TouchpadPressure { .. } => EventResponse { repaint: true, @@ -400,7 +401,6 @@ impl State { // Things we completely ignore: WindowEvent::AxisMotion { .. } - | WindowEvent::Moved(_) | WindowEvent::SmartMagnify { .. } | WindowEvent::TouchpadRotate { .. } => EventResponse { repaint: false,