Add ID to filedrop handler

This commit is contained in:
Jonathan Kelley committed 2024-01-04 16:48:53 -08:00
1 parent 62a9583fff
commit ec3eaa6b26
7 files changed
+24 -51

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ pub(crate) fn build(
.with_file_drop_handler(move |event| {
file_handler
.as_ref()
.map(|handler| handler(event))
.map(|handler| handler(window_id, event))
.unwrap_or_default()
})
.with_web_context(&mut web_context);