Decouple selection section inventory position
This commit is contained in:
@@ -73,7 +73,7 @@ setInvPosFromSS w =
|
||||
where
|
||||
thesel = fromMaybe SelNothing $ do
|
||||
sss <- w ^? hud . hudElement . diSections
|
||||
(i, j) <- sss ^? sssExtra . sssSelPos . _Just
|
||||
(i, j) <- w ^? hud . hudElement . diSelection . _Just
|
||||
case i of
|
||||
(-1) -> Just SortInventory
|
||||
0 -> do
|
||||
|
||||
Reference in New Issue
Block a user