Implement slowed down aim turning
This commit is contained in:
+6
-1
@@ -335,7 +335,12 @@ menuWheelStep i u = fromMaybe u $ do
|
||||
-- where
|
||||
-- y = w ^. input . scrollAmount
|
||||
updateWheelEvents :: World -> World
|
||||
updateWheelEvents w = updateWheelEvent (w ^. input . scrollAmount) w
|
||||
updateWheelEvents w
|
||||
| yi == 0 = w
|
||||
| otherwise = updateWheelEvent yi w
|
||||
where
|
||||
yi = w ^. input . scrollAmount
|
||||
|
||||
|
||||
advanceScrollAmount :: Universe -> Universe
|
||||
advanceScrollAmount u =
|
||||
|
||||
Reference in New Issue
Block a user