world portal gui wip

This commit is contained in:
minjaesong
2023-05-28 20:55:47 +09:00
parent ef6f39632d
commit 76bfc0fde4
6 changed files with 77 additions and 20 deletions

View File

@@ -81,7 +81,7 @@ open class UIItemTextButton(
Alignment.LEFT -> posX + paddingLeft
Alignment.RIGHT -> width - paddingRight - textW
}
val fontY = posY + (hitboxSize - font.lineHeight.toInt()) / 2
val fontY = posY + 2 + (hitboxSize - font.lineHeight.toInt()) / 2
// draw background