Make selection cursors use selection item width
This commit is contained in:
@@ -26,13 +26,13 @@ defaultListDisplayParams =
|
||||
{ _spScreenOff = V2 (-0.5) 0.5 -- top left
|
||||
, _spPixelOff = 0
|
||||
}
|
||||
, _ldpWidth = FixedSelectionWidth 15
|
||||
, _ldpWidth = UseItemWidth
|
||||
}
|
||||
|
||||
invDisplayParams :: World -> ListDisplayParams
|
||||
invDisplayParams w =
|
||||
defaultListDisplayParams
|
||||
& ldpWidth .~ FixedSelectionWidth (determineInvSelCursorWidth w)
|
||||
-- & ldpWidth .~ FixedSelectionWidth (determineInvSelCursorWidth w)
|
||||
& ldpPos . spPixelOff .~ V2 6 (-1)
|
||||
|
||||
invCursorParams :: World -> CursorDisplay
|
||||
|
||||
Reference in New Issue
Block a user