From 53b1948c443b7db457c9ac8d1165fb1246de82a6 Mon Sep 17 00:00:00 2001 From: Mikayla Date: Wed, 13 Dec 2023 18:32:42 -0800 Subject: [PATCH] Remove inconsistency with how GPUI used to handle these events --- crates/gpui2/src/window.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/gpui2/src/window.rs b/crates/gpui2/src/window.rs index ff15389bc13a9aaec4d672933dc8b22ad6c2f092..585db90c6fe8bc6da15e250e14cf89ab4e8b8802 100644 --- a/crates/gpui2/src/window.rs +++ b/crates/gpui2/src/window.rs @@ -1359,7 +1359,6 @@ impl<'a> WindowContext<'a> { } InputEvent::MouseExited(mouse_exited) => { // todo!("Should we record that the mouse is outside of the window somehow? Or are these global pixels?") - self.window.mouse_position = mouse_exited.position; self.window.modifiers = mouse_exited.modifiers; InputEvent::MouseExited(mouse_exited)