Move hotkeys out of Creature into LWorld
This commit is contained in:
@@ -181,7 +181,8 @@ updateDisplaySections w cfig =
|
||||
mapMaybe (closeItemToSelectionItem w) (w ^. hud . closeItems)
|
||||
invitems =
|
||||
IM.mapWithKey
|
||||
(\k (indent, x) -> invSelectionItem indent cr k (x ^. locLDT . ldtValue))
|
||||
(\k (indent, x) -> invSelectionItem indent (w ^. cWorld . lWorld)
|
||||
k (x ^. locLDT . ldtValue))
|
||||
(fmap (first removeindentiffiltering) . allInvLocs $ _crInv cr)
|
||||
removeindentiffiltering =
|
||||
if maybe False (not . null) (w ^? hud . hudElement . diInvFilter . _Just)
|
||||
|
||||
Reference in New Issue
Block a user