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 ff15389bc1..585db90c6f 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)