Fix: Windows File Drag-N-Drop (#3046)
* fix: windows file drop * update: tokio + fix eval
This commit is contained in:
1 parent
519ec9d294
commit
0995b5d2c5
17 files changed
+143
-20
No files matched your search
@@ -15,12 +15,20 @@ pub enum UserWindowEvent {
|
||||
Poll(WindowId),
|
||||
|
||||
/// Handle an ipc message eminating from the window.postMessage of a given webview
|
||||
Ipc { id: WindowId, msg: IpcMessage },
|
||||
Ipc {
|
||||
id: WindowId,
|
||||
msg: IpcMessage,
|
||||
},
|
||||
|
||||
/// Handle a hotreload event, basically telling us to update our templates
|
||||
#[cfg(all(feature = "devtools", debug_assertions))]
|
||||
HotReloadEvent(dioxus_devtools::DevserverMsg),
|
||||
|
||||
// Windows-only drag-n-drop fix events.
|
||||
WindowsDragDrop(WindowId),
|
||||
WindowsDragOver(WindowId, i32, i32),
|
||||
WindowsDragLeave(WindowId),
|
||||
|
||||
/// Create a new window
|
||||
NewWindow,
|
||||
|
||||
|
||||
Reference in new issue
Block a user