From f5c658206539e45c5e151efe4998be0472188773 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Mon, 9 Dec 2024 20:51:57 +0300 Subject: [PATCH] Fix the wrong outline condition. --- UnleashedRecomp/ui/imgui_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnleashedRecomp/ui/imgui_utils.h b/UnleashedRecomp/ui/imgui_utils.h index 09e1ab6..64cce93 100644 --- a/UnleashedRecomp/ui/imgui_utils.h +++ b/UnleashedRecomp/ui/imgui_utils.h @@ -207,7 +207,7 @@ static void DrawTextWithOutline(const ImFont* font, float fontSize, const ImVec2 { for (int32_t j = -outlineSize + 1; j < outlineSize; j++) { - if (i != 0 && j != 0) + if (i != 0 || j != 0) drawList->AddText(font, fontSize, { pos.x + i, pos.y + j }, outlineColor, text); } }