Fix scroll selection of floor items and buttons
This commit is contained in:
@@ -15,3 +15,10 @@ getAvailableListLines ldps cfig = nlines
|
||||
dToBot = cfig ^. windowY - (ldps ^. ldpPosY + dFromScreenBot)
|
||||
dFromScreenBot = 5 -- fromMaybe 0 $ sl ^? slSizeRestriction . ssrType . ssrFromScreenBottom
|
||||
|
||||
defaultSelectionList :: SelectionList a
|
||||
defaultSelectionList = SelectionList
|
||||
{_slItems = []
|
||||
, _slSelPos = Nothing
|
||||
, _slLength = 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user