mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
actually take path for FileStorage::from_path
This commit is contained in:
@@ -6,7 +6,7 @@ fn main() {
|
||||
let title = "Egui glium demo";
|
||||
|
||||
// Persist app state to file:
|
||||
let storage = egui_glium::storage::FileStorage::from_path(".egui_demo_glium.json".into());
|
||||
let storage = egui_glium::storage::FileStorage::from_path(".egui_demo_glium.json");
|
||||
|
||||
// Alternative: store nowhere
|
||||
// let storage = egui::app::DummyStorage::default();
|
||||
|
||||
Reference in New Issue
Block a user