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

Commit fd197e73 authored by Jeremy Sim's avatar Jeremy Sim
Browse files

Improve the fling gesture for dividers

Previously, flinging the divider would always send it all the way to the other side of the screen (mFirstSplitTarget and mLastSplitTarget to be precise). With more snap targets on-screen with flexible split, this started to feel janky.

Now, a fling gesture will send it to the closest snap target in the direction of the fling.

Fixes: 428784487
Flag: com.android.wm.shell.enable_flexible_two_app_split
Test: Manual
Change-Id: Ie1b7544c99cdef134023fd11bfae74add2684794
parent 84512d9b
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