Fixed metrics time unit being wrong.

This commit is contained in:
Filipe Rodrigues 2025-09-16 03:19:04 +01:00
parent d7226dcde6
commit b2fd6a11c9
Signed by: zenithsiz
SSH Key Fingerprint: SHA256:Mb5ppb3Sh7IarBO/sBTXLHbYEOz37hJAlslLQPPAPaU

View File

@ -63,8 +63,8 @@ fn draw_render_frame_times(ui: &mut egui::Ui, render_frame_times: &mut FrameTime
.clamp_grid(true);
let plot = match settings.is_histogram {
true => plot.x_axis_label("Time (s)").y_axis_label("Occurrences (normalized)"),
false => plot.x_axis_label("Frame").y_axis_label("Time (s)"),
true => plot.x_axis_label("Time (ms)").y_axis_label("Occurrences (normalized)"),
false => plot.x_axis_label("Frame").y_axis_label("Time (ms)"),
};
plot.show(ui, |plot_ui| {