sign engraver wip 3

This commit is contained in:
minjaesong
2024-03-22 21:15:39 +09:00
parent 8e1c586a5c
commit 4d1ea45a0f
4 changed files with 25 additions and 8 deletions

View File

@@ -173,7 +173,7 @@ class FixtureTextSignCopper : Electric {
batch.inUse { _ ->
blendNormalStraightAlpha(batch)
val tw = App.fontGame.getWidth(text)
App.fontGame.draw(batch, text, 0 + (it.width - tw) / 2, 3)
App.fontGame.draw(batch, text, 1 + (it.width - tw) / 2, 3)
blendAlphaMask(batch)