HitFX, Early/Late display with ms #35

Merged
hersi merged 16 commits from domdoc-develop into master 2022-05-27 11:17:12 +02:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 962f2c27d7 - Show all commits

View File

@ -47,12 +47,12 @@ function EarlyLate.render(deltaTime)
desh = 1080 desh = 1080
end end
local scale = desh / screenH local scale = screenH / desh
local y = screenH / 8 * heightFraction local y = screenH / 8 * heightFraction
gfx.BeginPath() gfx.BeginPath()
gfx.LoadSkinFont("dfmarugoth.ttf") gfx.LoadSkinFont("Digital-Serial-Bold.ttf")
gfx.FontSize(18 * scale) gfx.FontSize(20 * scale)
if EarlyLate.showEarlyLate then if EarlyLate.showEarlyLate then
gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_BASELINE) gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_BASELINE)