text pane

This commit is contained in:
minjaesong
2021-10-21 17:32:01 +09:00
parent f7aa773482
commit 2bae7c59f5
5 changed files with 144 additions and 10 deletions

View File

@@ -95,7 +95,7 @@ class UIItemTextSelector(
// text area border
batch.color = Toolkit.Theme.COL_INACTIVE
Toolkit.drawBoxBorder(batch, posX + buttonW + 2, posY - 1, width - 2*buttonW - 6 + 2, height + 2)
Toolkit.drawBoxBorder(batch, posX - 1, posY - 1, width + 2, height + 2)
// left button border
batch.color = if (mouseOnButton == 1 && mousePushed) Toolkit.Theme.COL_HIGHLIGHT