Tweak inventory display
This commit is contained in:
@@ -296,10 +296,8 @@ updateSection indent mcsel sis availablelines oldoffset =
|
||||
SelectionSection
|
||||
{ _ssItems = sis
|
||||
, _ssOffset = offset
|
||||
, _ssShownItems =
|
||||
tweakfirst . tweaklast . map (^. _2) $
|
||||
take availablelines shownstrings
|
||||
, _ssShownLength = length shownitems
|
||||
, _ssShownItems = shownitems
|
||||
, _ssShownLength = min aslength availablelines
|
||||
, _ssIndent = indent
|
||||
}
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user