tooltip and smelter ui fixes

This commit is contained in:
minjaesong
2024-01-30 19:57:32 +09:00
parent cbe11ce5dc
commit 7fb068517a
3 changed files with 20 additions and 15 deletions

View File

@@ -145,10 +145,6 @@ class UIItemInventoryElemSimple(
tooltipShowing[hash] = true
// printdbg(this, tooltipShowing.entries)
}
else if (item == null || !mouseUp) {
tooltipShowing[hash] = false
}
}
else {
@@ -160,6 +156,10 @@ class UIItemInventoryElemSimple(
}
if (item == null || !mouseUp) {
tooltipShowing[hash] = false
}
// see IFs above?
batch.color = Color.WHITE

View File

@@ -177,9 +177,10 @@ class UIItemInventoryElemWide(
tooltipShowing[hash] = true
// printdbg(this, tooltipShowing.entries)
}
else if (item == null || !mouseUp) {
tooltipShowing[hash] = false
}
}
if (item == null || !mouseUp) {
tooltipShowing[hash] = false
}
// see IFs above?