Fixed height bug in DrawTextRecEx()
This commit is contained in:
parent
641895b5ba
commit
40a76cf021
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;
|
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
|
//draw selected
|
||||||
bool isGlyphSelected = false;
|
bool isGlyphSelected = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue