Fix scroll selection of floor items and buttons
This commit is contained in:
@@ -44,7 +44,7 @@ accessTerminal :: Maybe Int -> World -> World
|
||||
accessTerminal mtmid w = case mtmid of
|
||||
Nothing -> w
|
||||
Just tmid ->
|
||||
w & cWorld . lWorld . hud . hudElement .~ DisplayInventory (DisplayTerminal tmid)
|
||||
w & cWorld . lWorld . hud . hudElement . subInventory .~ DisplayTerminal tmid
|
||||
& cWorld . lWorld . terminals . ix tmid . tmInput . tiFocus .~ True
|
||||
& cWorld . lWorld . terminals . ix tmid %~ tryToBoot
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user