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

Commit 3278aa80 authored by Anton Potapov's avatar Anton Potapov
Browse files

Remove cancelling snap animation

This CL improves the animation in two ways:
1. Doesn't cancel an ongoing animation when slider receives the new value. This is usefull when adjusting volume with physical buttons and makes it smoother.
2. Debounce upcoming values to prevent slacking behind when the user flings the slider.

Flag: EXEMPT BUG_FIX
Fixes: 433505724
Test: manual on foldable. Adjust volume with various gestures in both Volume Panel and Volume Dialog.
Test: atest VolumeDialogScreenshotTest
Test: atest VolumePanelScreenshotTest
Change-Id: I0f56b5cfd6ea99e0b00e250f2a0839db76fcced3
parent acf3ecd2
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