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

Commit ec55ee52 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Always return the remaining velocity after a fling

This CL slightly changes the logic in SwipeAnimation so that we always
return the velocity remaining after animating to the target offset, even
if the animation was done using a spring. This allows to still have a
slight overscroll when the spring is animating from a large offset, and
there is no reason not to have it as it arguably feels better.

Bug: 417444347
Test: Manual, noticed the slight overscroll even when not decaying
Flag: com.android.systemui.scene_container
Change-Id: I33ff9e134ec97dadb4f95d86709da9224c67065d
parent b6891b95
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment