Minor formatting tweaks
This commit is contained in:
parent
498511e4cf
commit
6f532337ff
@ -4889,7 +4889,9 @@ static void GuiDrawText(const char *text, Rectangle textBounds, int alignment, C
|
|||||||
else if (!overflowReached)
|
else if (!overflowReached)
|
||||||
{
|
{
|
||||||
overflowReached = true;
|
overflowReached = true;
|
||||||
for (int j = 0; j < ellipsisWidth; j += ellipsisWidth/3) {
|
|
||||||
|
for (int j = 0; j < ellipsisWidth; j += ellipsisWidth/3)
|
||||||
|
{
|
||||||
DrawTextCodepoint(guiFont, '.', RAYGUI_CLITERAL(Vector2){ textBoundsPosition.x + textOffsetX + j, textBoundsPosition.y + textOffsetY }, (float)GuiGetStyle(DEFAULT, TEXT_SIZE), GuiFade(tint, guiAlpha));
|
DrawTextCodepoint(guiFont, '.', RAYGUI_CLITERAL(Vector2){ textBoundsPosition.x + textOffsetX + j, textBoundsPosition.y + textOffsetY }, (float)GuiGetStyle(DEFAULT, TEXT_SIZE), GuiFade(tint, guiAlpha));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user