REVIEWED: Issue #3105

This commit is contained in:
Ray
2023-07-02 10:51:39 +02:00
parent df90da0b37
commit 48e2663d03
2 changed files with 2 additions and 3 deletions

View File

@@ -1227,7 +1227,7 @@ Vector2 MeasureTextEx(Font font, const char *text, float fontSize, float spacing
if (tempTextWidth < textWidth) tempTextWidth = textWidth;
textSize.x = tempTextWidth*scaleFactor + (float)((tempByteCounter - 1)*spacing); // Adds chars spacing to measure
textSize.x = (tempTextWidth + (float)((tempByteCounter - 1)*spacing))*scaleFactor;
textSize.y = textHeight*scaleFactor;
return textSize;