Simplify updating selection sections

This commit is contained in:
2023-02-18 15:46:03 +00:00
parent 6eca3bab38
commit 41851ba24d
5 changed files with 230 additions and 87 deletions
+1 -1
View File
@@ -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))