diff options
| author | Demizdor <avalorrian@gmail.com> | 2019-02-22 12:27:20 +0200 |
|---|---|---|
| committer | Demizdor <avalorrian@gmail.com> | 2019-02-22 12:27:20 +0200 |
| commit | 40a76cf021cfa0eb0f2265135d796dd0b8a0d7d0 (patch) | |
| tree | 47b196b4283bfa608fb0d1b375513d34a01671b3 /src | |
| parent | 641895b5ba778fdc9024ebb58446dcc8ea36a00a (diff) | |
| download | raylib-40a76cf021cfa0eb0f2265135d796dd0b8a0d7d0.tar.gz raylib-40a76cf021cfa0eb0f2265135d796dd0b8a0d7d0.zip | |
Fixed height bug in DrawTextRecEx()
Diffstat (limited to 'src')
| -rw-r--r-- | src/text.c | 2 |
1 files changed, 1 insertions, 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; |
