HitFX, Early/Late display with ms #35
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue