Make scrolling reduce selected items to 1
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
All good (596 modules, at 12:39:52)
|
All good (596 modules, at 12:49:06)
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ updateWheelEvent yi w = case w ^. hud . hudElement of
|
|||||||
EquipOptions{} -> w & rbOptions . opSel %~ scrollRBOption yi rbscrollmax
|
EquipOptions{} -> w & rbOptions . opSel %~ scrollRBOption yi rbscrollmax
|
||||||
NoRightButtonOptions -> w
|
NoRightButtonOptions -> w
|
||||||
| bdown ButtonLeft -> w & wCam . camZoom +~ y
|
| bdown ButtonLeft -> w & wCam . camZoom +~ y
|
||||||
| invKeyDown -> changeSwapSel yi w
|
| invKeyDown -> changeSwapSel yi $ w & hud . hudElement . diSelectionExtra .~ 0
|
||||||
| otherwise -> scrollAugInvSel yi w
|
| otherwise -> scrollAugInvSel yi $ w & hud . hudElement . diSelectionExtra .~ 0
|
||||||
DisplayInventory{_subInventory = ExamineInventory}
|
DisplayInventory{_subInventory = ExamineInventory}
|
||||||
| invKeyDown -> scrollAugInvSel yi w
|
| invKeyDown -> scrollAugInvSel yi w
|
||||||
| otherwise -> w
|
| otherwise -> w
|
||||||
|
|||||||
Reference in New Issue
Block a user