Browse Source

Fixed height bug in DrawTextRecEx()

pull/761/head
Demizdor 5 years ago
parent
commit
40a76cf021
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/text.c

+ 1
- 1
src/text.c View File

@ -897,7 +897,7 @@ void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, f
textOffsetX = 0;
}
if ((textOffsetY + (int)(p">(font.baseSize + font.baseSize/2)*scaleFactor)) > rec.height) break;
if ((textOffsetY + (int)(font.baseSize*scaleFactor)) > rec.height) break;
//draw selected
bool isGlyphSelected = false;

Loading…
Cancel
Save