From 9143eb00fb167e14dfb2d64a959df3fb8d8f0f55 Mon Sep 17 00:00:00 2001 From: Sam Belliveau Date: Sat, 31 Dec 2022 16:04:44 -0500 Subject: [PATCH] PerformanceMetrics: Fix Line Width Issue on Non HiDPI Screens --- Source/Core/VideoCommon/PerformanceMetrics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/PerformanceMetrics.cpp b/Source/Core/VideoCommon/PerformanceMetrics.cpp index 3b9cc81791..23e35623cb 100644 --- a/Source/Core/VideoCommon/PerformanceMetrics.cpp +++ b/Source/Core/VideoCommon/PerformanceMetrics.cpp @@ -134,7 +134,7 @@ void PerformanceMetrics::DrawImGuiStats(const float backbuffer_scale) const ImPlot::PushStyleColor(ImPlotCol_PlotBg, {0, 0, 0, 0}); ImPlot::PushStyleColor(ImPlotCol_LegendBg, {0, 0, 0, 0.2f}); ImPlot::PushStyleVar(ImPlotStyleVar_FitPadding, ImVec2(0.f, 0.f)); - ImPlot::PushStyleVar(ImPlotStyleVar_LineWeight, 3.f); + ImPlot::PushStyleVar(ImPlotStyleVar_LineWeight, 1.5f * backbuffer_scale); ImPlot::SetupAxes(nullptr, nullptr, ImPlotAxisFlags_Lock | ImPlotAxisFlags_Invert | ImPlotAxisFlags_NoDecorations | ImPlotAxisFlags_NoHighlight,