feat (desktop): upgrade from wry 37 to 41 (#2618)
This commit is contained in:
1 parent
b4934ab974
commit
69d7098d0e
6 files changed
+69
-53
No files matched your search
@@ -300,8 +300,8 @@ impl App {
|
||||
if drag.files().is_some() {
|
||||
let file_event = recent_file.current().unwrap();
|
||||
let paths = match file_event {
|
||||
wry::FileDropEvent::Hovered { paths, .. } => paths,
|
||||
wry::FileDropEvent::Dropped { paths, .. } => paths,
|
||||
wry::DragDropEvent::Enter { paths, .. } => paths,
|
||||
wry::DragDropEvent::Drop { paths, .. } => paths,
|
||||
_ => vec![],
|
||||
};
|
||||
Rc::new(PlatformEventData::new(Box::new(DesktopFileDragEvent {
|
||||
|
||||
Reference in new issue
Block a user