mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Apply PendingAnimation#mDuration to all added anims
Doing this at the root instead of individually for all added animators ensures none fall through the cracks. Fixes: shelf moving too quickly in 2 button mode Change-Id: I0de1ba9cee3fb8f1d6161371625d97e4b2305129
This commit is contained in:
@@ -189,7 +189,6 @@ public class AllAppsTransitionController implements StateHandler<LauncherState>,
|
||||
: FAST_OUT_SLOW_IN;
|
||||
|
||||
Animator anim = createSpringAnimation(mProgress, targetProgress);
|
||||
anim.setDuration(config.duration);
|
||||
anim.setInterpolator(config.getInterpolator(ANIM_VERTICAL_PROGRESS, interpolator));
|
||||
anim.addListener(getProgressAnimatorListener());
|
||||
builder.add(anim);
|
||||
|
||||
Reference in New Issue
Block a user