Fix selection in combine menu
This commit is contained in:
@@ -146,15 +146,6 @@ drawSubInventory subinv cfig w = case subinv of
|
||||
closeobjectcursor = case selectedCloseObject w of
|
||||
Nothing -> mempty
|
||||
Just (i,_) -> drawCursorAt (invDisplayParams w & ldpCursorType .~ BorderCursor (Set.fromList [North,South])) cfig (Just i) (inventorySelectionList w)
|
||||
-- Just (i, co) ->
|
||||
-- listCursorNS
|
||||
-- clObjFloatIn
|
||||
-- 0
|
||||
-- cfig
|
||||
-- (selNumPos i w)
|
||||
-- (closeObjectCol co)
|
||||
-- topInvW
|
||||
-- (invSelSize i w)
|
||||
itcol = fromMaybe (greyN 0.5) (it ^? _Just . itInvColor)
|
||||
cr = you w
|
||||
it = yourItem w
|
||||
|
||||
Reference in New Issue
Block a user