back to egui main branch
This commit is contained in:
@@ -27,7 +27,7 @@ cfg_if::cfg_if! {
|
||||
log_helper("Finished initializing!");
|
||||
|
||||
log_helper("Starting App...");
|
||||
eframe::start_web("canvas", |cc| Box::new(egui_app::MathApp::new(cc)))
|
||||
eframe::start_web("canvas", Box::new(|cc| Box::new(egui_app::MathApp::new(cc))))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,9 @@ fn main() {
|
||||
drag_and_drop_support: true,
|
||||
..Default::default()
|
||||
};
|
||||
eframe::run_native("(Yet-to-be-named) Graphing Software", options, |cc| {
|
||||
Box::new(egui_app::MathApp::new(cc))
|
||||
});
|
||||
eframe::run_native(
|
||||
"(Yet-to-be-named) Graphing Software",
|
||||
options,
|
||||
Box::new(|cc| Box::new(egui_app::MathApp::new(cc))),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user