-
Sahir Vellani authored
Currently, if physics based fling curve is enabled, even if the fling is boosted, the scroll distance is capped by upper bound which is three times the size of viewport. Thus it nullify the effect of fling boosting and travels the same distance as it would if fling is not boosted. This CL fixes fling boosting with physics based fling curve. It does so by increasing the upper bound every time a fling is boosted. Bug: 647137 Change-Id: Ib2dd51b37df91168ae1f1e8d33888e3b5dc43e23 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2118218Reviewed-by:
Navid Zolghadr <nzolghadr@chromium.org> Reviewed-by:
David Bokan <bokan@chromium.org> Reviewed-by:
Daniel Libby <dlibby@microsoft.com> Commit-Queue: Sahir Vellani <sahir.vellani@microsoft.com> Cr-Commit-Position: refs/heads/master@{#758878}
8e795d5b