worldportal: showing tooltip to tell why the button is disabled

This commit is contained in:
minjaesong
2023-06-30 03:07:45 +09:00
parent e5e02681b8
commit 7c1806946b
6 changed files with 52 additions and 81 deletions

View File

@@ -493,7 +493,7 @@ class UIItemPlayerCells(
override val width = SAVE_CELL_WIDTH
override val height = SAVE_CELL_HEIGHT
override var clickOnceListener: ((Int, Int) -> Unit)? = { _: Int, _: Int ->
override var clickOnceListener: ((Int, Int) -> Unit) = { _: Int, _: Int ->
UILoadGovernor.playerDisk = skimmer
UILoadGovernor.playerUUID = playerUUID
UILoadGovernor.worldUUID = worldUUID
@@ -756,7 +756,7 @@ class UIItemWorldCells(
private var highlightCol: Color = Toolkit.Theme.COL_LIST_DEFAULT
override var clickOnceListener: ((Int, Int) -> Unit)? = { _: Int, _: Int ->
override var clickOnceListener: ((Int, Int) -> Unit) = { _: Int, _: Int ->
UILoadGovernor.worldDisk = skimmer
parent.advanceMode(this)
}