From 26e8e228a7edea37ee2a3e873ccef0f1b9448529 Mon Sep 17 00:00:00 2001 From: Hyper <34012267+hyperbx@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:23:16 +0000 Subject: [PATCH] installer_wizard: use integer outline for button text --- UnleashedRecomp/ui/installer_wizard.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/UnleashedRecomp/ui/installer_wizard.cpp b/UnleashedRecomp/ui/installer_wizard.cpp index 42b1b6b5..7de4bc68 100644 --- a/UnleashedRecomp/ui/installer_wizard.cpp +++ b/UnleashedRecomp/ui/installer_wizard.cpp @@ -474,16 +474,16 @@ static void DrawButton(ImVec2 min, ImVec2 max, const char *buttonText, bool sour IM_COL32(baser + 128, baseg + 170, 0, 255) ); - DrawTextWithOutline - ( - font, - size, - min, - IM_COL32(255, 255, 255, 255 * alpha), - buttonText, - sourceButton ? 1.0f : 1.5f, - IM_COL32(baser, baseg, 0, 255 * alpha) - ); + DrawTextWithOutline + ( + font, + size, + min, + IM_COL32(255, 255, 255, 255 * alpha), + buttonText, + 2, + IM_COL32(baser, baseg, 0, 255 * alpha) + ); ResetGradient(); }