Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 000a5c3b authored by Josh Yang's avatar Josh Yang
Browse files

Fix overscroll detection on watch.

The overscroll detection doesn't work well when user scrolls diagonally
at the edge. E.g. when user swipes right when the view top is at top,
the swipe was considered overscroll if the finger has a very minor delta
with upwards direction.

This change fixes this issue by determining the swipe direction based on
the larger delta value between x and y axis.

Flag: EXEMPT small bug fix
Bug: 350679840
Test: atest FullScreenMagnificationGestureHandlerTest
Change-Id: I75f9b50157c621ba5a602cecef03c1dbb7ab41ad
parent 9e11b523
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment