ui: Scale video debug advanced graph by scaling factor

This commit is contained in:
Matt Borgerson 2021-03-16 00:59:16 -07:00 committed by mborgerson
parent 0214f88f91
commit 0996364107
1 changed files with 1 additions and 1 deletions

View File

@ -1494,7 +1494,7 @@ public:
ImPlot::SetNextPlotLimitsX(x_start, x_end, ImGuiCond_Always);
ImPlot::SetNextPlotLimitsY(0, 1500, ImGuiCond_Always);
ImGui::SetNextWindowBgAlpha(alpha);
if (ImPlot::BeginPlot("##ScrollingDraws", NULL, NULL, ImVec2(-1,500), 0, rt_axis, rt_axis | ImPlotAxisFlags_Lock)) {
if (ImPlot::BeginPlot("##ScrollingDraws", NULL, NULL, ImVec2(-1,500*g_ui_scale), 0, rt_axis, rt_axis | ImPlotAxisFlags_Lock)) {
for (int i = 0; i < NV2A_PROF__COUNT; i++) {
ImGui::PushID(i);
char title[64];