Cleanup
This commit is contained in:
@@ -47,7 +47,8 @@ combineItemListYouX = map (first $ concatMap g) . lookupItems . yourInv
|
||||
|
||||
combineList :: World -> [SelectionItem CombinableItem]
|
||||
combineList w = case combineList' w of
|
||||
[] -> [SelectionInfo ["No possible combinations"] 1 False 0 white 0]
|
||||
-- [] -> [SelectionInfo ["No possible combinations"] 1 False 0 white 0]
|
||||
[] -> [SelectionInfo ["No possible combinations"] 1 False white 0]
|
||||
xs -> xs
|
||||
|
||||
combineList' :: World -> [SelectionItem CombinableItem]
|
||||
@@ -57,7 +58,7 @@ combineList' = map f . combineListInfo
|
||||
{ _siPictures = itemDisplay itm
|
||||
, _siHeight = length (itemDisplay itm)
|
||||
, _siIsSelectable = True
|
||||
, _siWidth = maximum (map length (itemDisplay itm))
|
||||
--, _siWidth = maximum (map length (itemDisplay itm))
|
||||
, _siColor = _itInvColor itm
|
||||
, _siOffX = 0
|
||||
, _siPayload = CombinableItem is itm strs
|
||||
|
||||
Reference in New Issue
Block a user