change auto_save_interval from 30 to 10

This commit is contained in:
Simon Gardling
2022-05-25 10:45:06 -04:00
parent 3c224d9872
commit 6481c179db

View File

@@ -638,6 +638,8 @@ impl App for MathApp {
self.save_functions(); 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 { fn clear_color(&self, _visuals: &egui::Visuals) -> egui::Rgba {
crate::style::STYLE.window_fill().into() crate::style::STYLE.window_fill().into()
} }