actually working load manual/auto button

This commit is contained in:
minjaesong
2023-06-26 20:18:00 +09:00
parent e5e8028b3f
commit 1ef479124e
4 changed files with 52 additions and 12 deletions

View File

@@ -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