add clear_color

This commit is contained in:
Simon Gardling
2022-05-23 12:53:17 -04:00
parent 4d272c3d41
commit a751cd3fb4

View File

@@ -633,4 +633,8 @@ impl App for MathApp {
panic!("unable to get local storage") panic!("unable to get local storage")
} }
} }
fn clear_color(&self, _visuals: &egui::Visuals) -> egui::Rgba {
crate::style::STYLE.window_fill().into()
}
} }