diff --git a/src/math_app.rs b/src/math_app.rs index a9bb83b..ebba0a1 100644 --- a/src/math_app.rs +++ b/src/math_app.rs @@ -647,7 +647,7 @@ impl App for MathApp { }); // Calculate and store the last time it took to draw the frame - self.last_info.1 = start.map(|a| format!("Took: {:?}", a.elapsed())); + self.last_info.1 = start.map(|a| format!("Took: {}ms", a.elapsed().as_micros())); } fn clear_color(&self, _visuals: &egui::Visuals) -> egui::Rgba {