From bd37645dfd5f42fa94c6d0bad7c87b327e743208 Mon Sep 17 00:00:00 2001 From: FlightlessMango Date: Sat, 10 Feb 2024 18:11:17 +0100 Subject: [PATCH] frametime: color: wasn't being inherited from colors --- src/hud_elements.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hud_elements.cpp b/src/hud_elements.cpp index c2752837..17466754 100644 --- a/src/hud_elements.cpp +++ b/src/hud_elements.cpp @@ -812,7 +812,7 @@ void HudElements::frame_timing(){ ImPlot::SetupAxes(nullptr, nullptr, ax_flags_x, ax_flags_y); ImPlot::SetupAxisScale(ImAxis_Y1, TransformForward_Custom, TransformInverse_Custom); ImPlot::SetupAxesLimits(0, 200, min_time, max_time); - ImPlot::SetNextLineStyle(ImVec4(0.0f, 1.0f, 0.0f, 1.0f), 1.5); + ImPlot::SetNextLineStyle(HUDElements.colors.frametime, 1.5); ImPlot::PlotLine("frametime line", frametime_data.data(), frametime_data.size()); if (HUDElements.params->enabled[OVERLAY_PARAM_ENABLED_throttling_status_graph] && throttling){ ImPlot::SetNextLineStyle(ImVec4(1.0f, 1.0f, 0.0f, 1.0f), 1.5);