Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Convert OS file drag and drop enter event into a mouse move, not mouse click
Kirill Bulatovf829120f51f9
diff --git a/crates/gpui2/src/window.rs b/crates/gpui2/src/window.rsindex 1e26a7cf070..a668e5d120d 100644--- a/crates/gpui2/src/window.rs+++ b/crates/gpui2/src/window.rs@@ -1269,10 +1269,9 @@ impl<'a> WindowContext<'a> {cursor_offset: position,});}- InputEvent::MouseDown(MouseDownEvent {+ InputEvent::MouseMove(MouseMoveEvent {position,- button: MouseButton::Left,- click_count: 1,+ pressed_button: Some(MouseButton::Left),modifiers: Modifiers::default(),})}