Skip to content

Commit

Permalink
PerformanceMetrics: Fix Line Width Issue on Non HiDPI Screens
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Belliveau authored and AdmiralCurtiss committed Jan 6, 2023
1 parent cc14d60 commit 9143eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/PerformanceMetrics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9143eb0

Please sign in to comment.