Closed abhinayagarwal closed 4 years ago
Zoom-in feature on Desktop was failing because every time scrolling stops a ScrollEvent is triggered with deltaY as 0.0.
ScrollEvent
deltaY
0.0
The fix is simple. We ignore all values between -1 <-> 1
-1 <-> 1
Zoom-in feature on Desktop was failing because every time scrolling stops a
ScrollEvent
is triggered withdeltaY
as0.0
.The fix is simple. We ignore all values between
-1 <-> 1