浏览代码

Merge pull request #761 from Demizdor/master

Fixed height bug in DrawTextRecEx()
pull/762/head
Ray 7 年前
committed by GitHub
父节点
当前提交
8382ab9ada
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/text.c

+ 1
- 1
src/text.c 查看文件

@ -897,7 +897,7 @@ void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, f
textOffsetX = 0; 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 //draw selected
bool isGlyphSelected = false; bool isGlyphSelected = false;

正在加载...
取消
保存