From 2d4259e174489ada5e25b85c1ff23a657a15ba14 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 29 Apr 2026 20:20:45 +1000 Subject: [PATCH] ImGuiOverlays: Fix incorrect frame time calculation --- src/core/imgui_overlays.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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