diff --git a/src/math_app.rs b/src/math_app.rs index e9cfa0d..f9e3c9d 100644 --- a/src/math_app.rs +++ b/src/math_app.rs @@ -638,6 +638,8 @@ impl App for MathApp { self.save_functions(); } + fn auto_save_interval(&self) -> std::time::Duration { std::time::Duration::from_secs(10) } + fn clear_color(&self, _visuals: &egui::Visuals) -> egui::Rgba { crate::style::STYLE.window_fill().into() }