Move towards separating selection sections cursor position storage
This commit is contained in:
@@ -59,9 +59,11 @@ updateWheelEvent yi w = case w ^. hud . hudElement of
|
||||
moveCombineSel :: Int -> World -> World
|
||||
moveCombineSel yi =
|
||||
( hud . hudElement . subInventory . ciSections
|
||||
%~ scrollSelectionSections yi
|
||||
%~ doscroll
|
||||
)
|
||||
. (worldEventFlags . at CombineInventoryChange ?~ ())
|
||||
where
|
||||
doscroll sss = sss & sssExtra . sssSelPos %~ scrollSelectionSections yi sss
|
||||
|
||||
--moveSubSel :: Int -> Int -> World -> World
|
||||
--moveSubSel yi maxyi =
|
||||
|
||||
Reference in New Issue
Block a user