mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 04:54:05 +09:00
tooltip and smelter ui fixes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user