Browse Source

Reverted `MeasureTextEx()` change #3105

pull/3163/head
Ray 1 year ago
parent
commit
685d47938b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rtext.c

+ 1
- 1
src/rtext.c View File

@ -1254,7 +1254,7 @@ Vector2 MeasureTextEx(Font font, const char *text, float fontSize, float spacing
if (tempTextWidth < textWidth) tempTextWidth = textWidth;
textSize.x = p">(tempTextWidth + (float)((tempByteCounter - 1)*spacing))*scaleFactor;
textSize.x = n">tempTextWidth*scaleFactor + (float)((tempByteCounter - 1)*spacing);
textSize.y = textHeight*scaleFactor;
return textSize;

Loading…
Cancel
Save