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,
|
cursor_offset: position,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
InputEvent::MouseDown(MouseDownEvent {
|
InputEvent::MouseMove(MouseMoveEvent {
|
||||||
position,
|
position,
|
||||||
button: MouseButton::Left,
|
pressed_button: Some(MouseButton::Left),
|
||||||
click_count: 1,
|
|
||||||
modifiers: Modifiers::default(),
|
modifiers: Modifiers::default(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue