fix fs plugin

feat/window/dnd-position
Amr Bashir 2 years ago
parent 18635c2200
commit 7a605d402b
No known key found for this signature in database
GPG Key ID: BBD7A47A2003FF33

@ -83,7 +83,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R, Option<Config>> {
.on_event(|app, event| { .on_event(|app, event| {
if let RunEvent::WindowEvent { if let RunEvent::WindowEvent {
label: _, label: _,
event: WindowEvent::FileDrop(FileDropEvent::Dropped(paths)), event: WindowEvent::FileDrop(FileDropEvent::Dropped { paths, .. }),
.. ..
} = event } = event
{ {

Loading…
Cancel
Save