mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Remove viewport_id and parent_viewport_id from Window::show arguments because can be accessed from Context::get_viewport_id and Context::get_parent_viewport_id
This commit is contained in:
@@ -475,7 +475,7 @@ impl WrapApp {
|
||||
let dropped_files = self.dropped_files.clone();
|
||||
egui::Window::new("Dropped files")
|
||||
.open(&mut open)
|
||||
.show(ctx, move |ui, _, _| {
|
||||
.show(ctx, move |ui| {
|
||||
let dropped_files = &*dropped_files.read().unwrap();
|
||||
for file in dropped_files {
|
||||
let mut info = if let Some(path) = &file.path {
|
||||
|
||||
Reference in New Issue
Block a user