|
@@ -396,8 +396,8 @@ impl<R: Runtime> WindowManager<R> {
|
|
crate::async_runtime::block_on(async move {
|
|
crate::async_runtime::block_on(async move {
|
|
let window = Window::new(manager.clone(), window, app_handle);
|
|
let window = Window::new(manager.clone(), window, app_handle);
|
|
let _ = match event {
|
|
let _ = match event {
|
|
- FileDropEvent::Hovered(paths) => window.emit("tauri://file-drop", Some(paths)),
|
|
|
|
- FileDropEvent::Dropped(paths) => window.emit("tauri://file-drop-hover", Some(paths)),
|
|
|
|
|
|
+ FileDropEvent::Hovered(paths) => window.emit("tauri://file-drop-hover", Some(paths)),
|
|
|
|
+ FileDropEvent::Dropped(paths) => window.emit("tauri://file-drop", Some(paths)),
|
|
FileDropEvent::Cancelled => window.emit("tauri://file-drop-cancelled", Some(())),
|
|
FileDropEvent::Cancelled => window.emit("tauri://file-drop-cancelled", Some(())),
|
|
_ => unimplemented!(),
|
|
_ => unimplemented!(),
|
|
};
|
|
};
|