Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove inconsistency with how GPUI used to handle these events

Mikayla53b1948c443b
diff --git a/crates/gpui2/src/window.rs b/crates/gpui2/src/window.rs
index ff15389bc13..585db90c6fe 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)