From 45bd68e5951812a586c9fc1afb287a87b2ec0259 Mon Sep 17 00:00:00 2001 From: Peter Repukat Date: Mon, 31 Oct 2022 10:20:03 +0100 Subject: [PATCH] GlosSITarget: Fix too low screen scale comparison --- GlosSITarget/TargetWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GlosSITarget/TargetWindow.cpp b/GlosSITarget/TargetWindow.cpp index 302da94..9d0d938 100644 --- a/GlosSITarget/TargetWindow.cpp +++ b/GlosSITarget/TargetWindow.cpp @@ -369,7 +369,7 @@ void TargetWindow::createWindow() spdlog::debug("Config file fps limit seems sane..."); setFpsLimit(Settings::window.maxFps); } - if (Settings::window.scale > 0.3f) { // Now that's just getting ridicoulus + if (Settings::window.scale < 0.3f) { // Now that's just getting ridicoulus ImGuiIO& io = ImGui::GetIO(); io.FontGlobalScale = Settings::window.scale; ImGui::SFML::UpdateFontTexture();