Merge pull request #761 from Demizdor/master
Fixed height bug in DrawTextRecEx()
This commit is contained in:
commit
8382ab9ada
1 changed files with 1 additions and 1 deletions
|
@ -897,7 +897,7 @@ void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, f
|
|||
textOffsetX = 0;
|
||||
}
|
||||
|
||||
if ((textOffsetY + (int)((font.baseSize + font.baseSize/2)*scaleFactor)) > rec.height) break;
|
||||
if ((textOffsetY + (int)(font.baseSize*scaleFactor)) > rec.height) break;
|
||||
|
||||
//draw selected
|
||||
bool isGlyphSelected = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue