mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 02:24:05 +09:00
world portal gui wip
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user