examples/fullscreen: Fix offset

This commit is contained in:
Hajime Hoshi 2018-10-12 01:11:14 +09:00
parent 0509abfab6
commit 659f3ad8a0

View File

@ -106,7 +106,7 @@ func update(screen *ebiten.Image) error {
}
for i, msg := range msgs {
text.Draw(screen, msg, mplusFont, 100, 100+int(float64(i)*16*scale), color.White)
text.Draw(screen, msg, mplusFont, int(50*scale), int(50+float64(i)*16*scale), color.White)
}
return nil