mirror of
https://github.com/Zenithsiz/zsw.git
synced 2026-02-03 09:50:31 +00:00
Fixed metrics time unit being wrong.
This commit is contained in:
parent
d7226dcde6
commit
b2fd6a11c9
@ -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| {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user