mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 12:51:42 +00:00
installer_wizard: use integer outline for button text
This commit is contained in:
parent
7d19a7603e
commit
26e8e228a7
1 changed files with 10 additions and 10 deletions
|
|
@ -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<float>
|
||||
(
|
||||
font,
|
||||
size,
|
||||
min,
|
||||
IM_COL32(255, 255, 255, 255 * alpha),
|
||||
buttonText,
|
||||
sourceButton ? 1.0f : 1.5f,
|
||||
IM_COL32(baser, baseg, 0, 255 * alpha)
|
||||
);
|
||||
DrawTextWithOutline<int>
|
||||
(
|
||||
font,
|
||||
size,
|
||||
min,
|
||||
IM_COL32(255, 255, 255, 255 * alpha),
|
||||
buttonText,
|
||||
2,
|
||||
IM_COL32(baser, baseg, 0, 255 * alpha)
|
||||
);
|
||||
|
||||
ResetGradient();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue