feat (desktop): upgrade from wry 37 to 41 (#2618)

This commit is contained in:
Andrew Scott authored and GitHub committed 2024-07-10 12:50:04 -07:00
1 parent b4934ab974
commit 69d7098d0e
6 files changed
+69 -53

No files matched your search

+2 -2
View File
@@ -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 {