From b94bb7b5ef608a9d29401f591b426951b58b7bcd Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 28 Jun 2020 17:35:41 +0100 Subject: [PATCH] Fixed bug squaring the non-curved base factor in the DPI scale. --- Source/ImGui/Private/ImGuiModuleSettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ImGui/Private/ImGuiModuleSettings.cpp b/Source/ImGui/Private/ImGuiModuleSettings.cpp index b39792b..5a19e5c 100644 --- a/Source/ImGui/Private/ImGuiModuleSettings.cpp +++ b/Source/ImGui/Private/ImGuiModuleSettings.cpp @@ -30,7 +30,7 @@ FImGuiDPIScaleInfo::FImGuiDPIScaleInfo() float FImGuiDPIScaleInfo::CalculateResolutionBasedScale() const { - float ResolutionBasedScale = Scale; + float ResolutionBasedScale = 1.f; if (bScaleWithCurve && GEngine && GEngine->GameUserSettings) { if (const FRichCurve* Curve = DPICurve.GetRichCurveConst())