From 6481c179db5a230208fecc250c2b32d92686547a Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 25 May 2022 10:45:06 -0400 Subject: [PATCH] change auto_save_interval from 30 to 10 --- src/math_app.rs | 2 ++ 1 file changed, 2 insertions(+) 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() }