Remove inconsistency with how GPUI used to handle these events

This commit is contained in:
Mikayla 2023-12-13 18:32:42 -08:00
parent d88fc27b79
commit 53b1948c44
No known key found for this signature in database

View File

@ -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)