mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
* android: Fix onScroll source Scrolling should be based on `e2`, the second event, since dX and dY are relative to e2 and not e1. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * android: Fix flinging down on android. We need to ensure x and y are inside the window, otherwise servo will not scroll! Our fling implementation will set `mCurX` and `mCurY` to a very high initial value when flinging with a negative velocity, since we don't know the size of our content page and the android `OverScroller` needs to know the size of the page. Setting the page size to a ridiculously high value ensures that flinging will not be cut of short, even if we fling farther then the edge of the screen, starting from the touch up point. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> |
||
---|---|---|
.. | ||
android | ||
arm32 | ||
arm64 | ||
crown | ||
macos | ||
openharmony | ||
rust-task_info | ||
windows | ||
suppressed_leaks_for_asan.txt |