mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
actually take path for FileStorage::from_path
This commit is contained in:
@@ -10,7 +10,7 @@ fn main() {
|
||||
let title = "My Egui Window";
|
||||
|
||||
// Persist app state to file:
|
||||
let storage = egui_glium::storage::FileStorage::from_path(".egui_example_glium.json".into());
|
||||
let storage = egui_glium::storage::FileStorage::from_path(".egui_example_glium.json");
|
||||
|
||||
// Alternative: store nowhere
|
||||
// let storage = egui::app::DummyStorage::default();
|
||||
|
||||
Reference in New Issue
Block a user