Fix selection in combine menu

This commit is contained in:
2022-12-26 09:34:23 +00:00
parent be1a48062f
commit 6e18c498af
3 changed files with 13 additions and 20 deletions
-9
View File
@@ -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