Improve x position check over selection items
This commit is contained in:
@@ -303,11 +303,3 @@ scrollAugNextInSection w =
|
||||
doscroll he = fromMaybe he $ do
|
||||
sss <- he ^? diSections
|
||||
return $ he & diSelection %~ nextInSectionSS sss
|
||||
|
||||
--selectedCloseItem :: World -> Maybe FloorItem
|
||||
--selectedCloseItem w = do
|
||||
-- i <-
|
||||
-- you w ^? crManipulation . manObject . ispCloseItem
|
||||
-- <|> fmap fst (IM.lookupMin =<< w ^? hud . hudElement . diSections . ix 3 . ssItems)
|
||||
-- flitid <- w ^? hud . closeItems . ix i . unNInt
|
||||
-- w ^? cWorld . lWorld . floorItems . unNIntMap . ix flitid
|
||||
|
||||
Reference in New Issue
Block a user