Tweak inventory display

This commit is contained in:
2025-01-05 15:55:34 +00:00
parent 2f30163c2f
commit ba5c6178c6
2 changed files with 4 additions and 6 deletions
+2 -4
View File
@@ -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