mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 02:54:04 +09:00
q&d fix for spinner initialise to blank label on crafting ui
This commit is contained in:
@@ -37,9 +37,9 @@ class UIItemCraftingCandidateGrid(
|
||||
|
||||
internal val recipesSortList = ArrayList<CraftingCodex.CraftingRecipe>() // a dual to the [inventorySortList] which contains the actual recipes instead of crafting recipes
|
||||
|
||||
fun highlightButton(button: UIItemInventoryCellBase) {
|
||||
fun highlightButton(button: UIItemInventoryCellBase?) {
|
||||
items.forEach { it.forceHighlighted = false }
|
||||
button.forceHighlighted = true
|
||||
button?.forceHighlighted = true
|
||||
}
|
||||
|
||||
override fun rebuild(filter: Array<String>) {
|
||||
|
||||
Reference in New Issue
Block a user