Unify inventory sections further (slow?)
This commit is contained in:
@@ -98,7 +98,7 @@ inventoryDisplay sss w cfig = listPicturesAtScaleOff
|
||||
csize <- sss ^? sssSections . ix spos . ssCursor . _Just . scurSize
|
||||
return $ listCursorDisplayParams ldps [North,South,West] cfig (yint + y) xint white 15 csize
|
||||
ldps = invDisplayParams w
|
||||
pics = foldMap (_ssShownItems) (_sssSections sss)
|
||||
pics = foldMap _ssShownItems (_sssSections sss)
|
||||
|
||||
drawSubInventory :: SubInventory -> Configuration -> World -> Picture
|
||||
drawSubInventory subinv cfig w = case subinv of
|
||||
|
||||
Reference in New Issue
Block a user