Simplify updating selection sections
This commit is contained in:
@@ -116,7 +116,7 @@ toggleCombineInv uv = case uv ^? uvWorld . hud . hudElement . subInventory of
|
||||
|
||||
updateCombineSelections :: World -> Configuration -> SelectionSections CombinableItem
|
||||
-> SelectionSections CombinableItem
|
||||
updateCombineSelections w cfig sss = sss & sssSections .~ updateSections availablelines ij [filt,combs]
|
||||
updateCombineSelections w cfig sss = sss & sssSections .~ updateSections availablelines ij [combs,filt]
|
||||
where
|
||||
availablelines = getAvailableListLines secondColumnParams cfig
|
||||
filt = (-1, (filtsec,filtitems))
|
||||
|
||||
Reference in New Issue
Block a user