mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-08 18:41:48 +00:00
Convert OS file drag and drop enter event into a mouse move, not mouse click
This commit is contained in:
parent
2a82dff2fe
commit
f829120f51
1 changed files with 2 additions and 3 deletions
|
@ -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(),
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue