Fix cursor positioning in selection sections

This commit is contained in:
2023-05-19 16:07:11 +01:00
parent 5604d7f1e3
commit 448669cd83
3 changed files with 9 additions and 6 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ module Dodge.Combine (
combineList',
) where
import Dodge.Item.SlotsTaken
import Dodge.Data.Universe
import Dodge.Data.Combine
import Dodge.Item.Display
@@ -54,7 +55,7 @@ combineList' = map f . combineListInfo
where
f (is,(strs,itm)) = SelectionItem
{ _siPictures = basicItemDisplay itm
, _siHeight = length (basicItemDisplay itm)
, _siHeight = itSlotsTaken itm
, _siIsSelectable = True
, _siColor = _itInvColor itm
, _siOffX = 0