diff --git a/src/core/imgui_overlays.cpp b/src/core/imgui_overlays.cpp index 7bc4cef63..6547eeff8 100644 --- a/src/core/imgui_overlays.cpp +++ b/src/core/imgui_overlays.cpp @@ -724,7 +724,7 @@ void ImGuiManager::DrawFrameTimeOverlay(float& position_y, float scale, float ma } min = vmin.minv(); - max = vmin.maxv(); + max = vmax.maxv(); } // add a little bit of space either side, so we're not constantly resizing