mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 19:14:05 +09:00
actually working load manual/auto button
This commit is contained in:
@@ -76,7 +76,7 @@ open class UIItemImageButton(
|
||||
// draw image
|
||||
batch.color = if (highlighted) highlightCol
|
||||
else if (mouseUp) activeCol
|
||||
else Toolkit.Theme.COL_INACTIVE
|
||||
else if (useBorder) Toolkit.Theme.COL_INACTIVE else inactiveCol
|
||||
if (useBorder) {
|
||||
Toolkit.drawBoxBorder(batch, posX - 1f, posY - 1f, width + 2f, height + 2f)
|
||||
batch.color = Color.WHITE
|
||||
|
||||
Reference in New Issue
Block a user