EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust
ui: import native file drops with drop-target hint (lib.rs)
David Campos6bde4d7590b2
diff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rsindex 01a028816..e6bb201a7 100644--- a/crates/ui-egui/src/lib.rs+++ b/crates/ui-egui/src/lib.rs@@ -1471,6 +1471,8 @@ impl EffectcraftApp {header::show(self, ui, header);let body = egui::Rect::from_min_max(egui::pos2(full.min.x + 4.0, header.max.y + 2.0), egui::pos2(full.max.x - 4.0, full.max.y - 4.0));self.dock_area(ui, body);+ #[cfg(not(target_arch = "wasm32"))]+ prefs_live::dropped_files(self, ui, full);panels::precomp::mini_flowchart(self, &ctx);panels::home::capture_thumbnail(self);panels::dialogs::show(self, &ctx);