瀏覽代碼

Update text_raylib_fonts.c

pull/1673/head
Ray 3 年之前
父節點
當前提交
71fe0bff95
共有 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/i">2 - MeasureTextEx(fonts[i], messages[i], fonts[i].baseSize*2.0f, spacings[i]).x/2.0f;
positions[i].x = screenWidth/f">2.0f - MeasureTextEx(fonts[i], messages[i], fonts[i].baseSize*2.0f, spacings[i]).x/2.0f;
positions[i].y = 60 + fonts[i].baseSize + 45*i;
}

Loading…
取消
儲存