Cleanup, tweak selection sections positioning
This commit is contained in:
@@ -49,8 +49,9 @@ updateWheelEvent yi w = case w ^. hud . hudElement of
|
||||
invKeyDown = ScancodeCapsLock `M.member` _pressedKeys (_input w)
|
||||
|
||||
moveCombineSel :: Int -> World -> World
|
||||
moveCombineSel yi = hud . hudElement . subInventory . ciSections
|
||||
%~ scrollSelectionSections yi
|
||||
moveCombineSel yi = (hud . hudElement . subInventory . ciSections
|
||||
%~ scrollSelectionSections yi)
|
||||
. (worldEventFlags . at CombineInventoryChange ?~ ())
|
||||
|
||||
moveSubSel :: Int -> Int -> World -> World
|
||||
moveSubSel yi maxyi =
|
||||
|
||||
Reference in New Issue
Block a user