浏览代码

Update text_raylib_fonts.c

pull/1673/head
Ray 3 年前
父节点
当前提交
89278953ae
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      examples/text/text_raylib_fonts.c

+ 1
- 1
examples/text/text_raylib_fonts.c 查看文件

@ -52,7 +52,7 @@ int main(void)
for (int i = 0; i < MAX_FONTS; i++)
{
positions[i].x = screenWidth/2 - MeasureTextEx(fonts[i], messages[i], fonts[i].baseSize*2.0f, spacings[i]).x/2.0f);
positions[i].x = screenWidth/2 - MeasureTextEx(fonts[i], messages[i], fonts[i].baseSize*2.0f, spacings[i]).x/2.0f;
positions[i].y = 60 + fonts[i].baseSize + 45*i;
}

正在加载...
取消
保存