소스 검색

Reverted `MeasureTextEx()` change #3105

pull/3163/head
Ray 2 년 전
부모
커밋
685d47938b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/rtext.c

+ 1
- 1
src/rtext.c 파일 보기

@ -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;

불러오는 중...
취소
저장