Mac module emits the winit events DroppedFile and HoveredFile.
This commit is contained in:
parent
4ef7c71c66
commit
5f00028f6b
2 changed files with 38 additions and 12 deletions
|
|
@ -26,6 +26,9 @@ pub enum WindowEvent {
|
|||
/// The window has been closed.
|
||||
Closed,
|
||||
|
||||
/// A file is being hovered over the window.
|
||||
HoveredFile(PathBuf),
|
||||
|
||||
/// A file has been dropped into the window.
|
||||
DroppedFile(PathBuf),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue