mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-07-10 23:22:27 -04:00
Fix the wrong outline condition.
This commit is contained in:
@@ -207,7 +207,7 @@ static void DrawTextWithOutline(const ImFont* font, float fontSize, const ImVec2
|
|||||||
{
|
{
|
||||||
for (int32_t j = -outlineSize + 1; j < outlineSize; j++)
|
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);
|
drawList->AddText(font, fontSize, { pos.x + i, pos.y + j }, outlineColor, text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user