installer_wizard: use integer outline for button text

This commit is contained in:
Hyper 2024-12-03 20:23:16 +00:00
parent 7d19a7603e
commit 26e8e228a7

View file

@ -474,16 +474,16 @@ static void DrawButton(ImVec2 min, ImVec2 max, const char *buttonText, bool sour
IM_COL32(baser + 128, baseg + 170, 0, 255) IM_COL32(baser + 128, baseg + 170, 0, 255)
); );
DrawTextWithOutline<float> DrawTextWithOutline<int>
( (
font, font,
size, size,
min, min,
IM_COL32(255, 255, 255, 255 * alpha), IM_COL32(255, 255, 255, 255 * alpha),
buttonText, buttonText,
sourceButton ? 1.0f : 1.5f, 2,
IM_COL32(baser, baseg, 0, 255 * alpha) IM_COL32(baser, baseg, 0, 255 * alpha)
); );
ResetGradient(); ResetGradient();
} }