mirror of
https://github.com/storytold/egui.git
synced 2026-11-22 18:41:52 +01:00
[egui] fix build without "with_serde" feature
This commit is contained in:
1 parent
fae81ca386
commit
42c94f9db9
1 file changed
+1
@@ -144,6 +144,7 @@ impl app::App for DemoApp {
|
||||
self.ui(ui, web_location_hash);
|
||||
}
|
||||
|
||||
#[cfg(feature = "with_serde")]
|
||||
fn on_exit(&mut self, storage: &mut dyn app::Storage) {
|
||||
app::set_value(storage, app::APP_KEY, self);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user