mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-03 12:49:17 -05:00
Minor formatting tweaks
This commit is contained in:
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user