Tweak pause camera movement
This commit is contained in:
@@ -57,8 +57,7 @@ handleMouseMotionEvent mmev cfig =
|
||||
(0.5 * windowYFloat cfig - fromIntegral y)
|
||||
|
||||
handleMouseWheelEvent :: MouseWheelEventData -> Input -> Input
|
||||
handleMouseWheelEvent mwev =
|
||||
(scrollAmount +~ fromIntegral y)
|
||||
handleMouseWheelEvent mwev = scrollAmount +~ fromIntegral y
|
||||
where
|
||||
V2 _ y = mouseWheelEventPos mwev
|
||||
|
||||
|
||||
Reference in New Issue
Block a user