소스 검색

Corrected DrawTextRecEx() bug

pull/1467/head
Ray 5 년 전
부모
커밋
015e715278
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/text.c

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

@ -1021,7 +1021,7 @@ void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, f
// Draw current character glyph
if ((codepoint != ' ') && (codepoint != '\t'))
{
DrawTextCodepoint(font, codepoint, (Vector2){ position.x + textOffsetX, position.y + textOffsetY }, fontSize, isGlyphSelected? selectTint : tint);
DrawTextCodepoint(font, codepoint, (Vector2){ rec.x + textOffsetX, rec.y + textOffsetY }, fontSize, isGlyphSelected? selectTint : tint);
}
}

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