mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Merge "Fix some state issues with user-controlled animations" into ub-launcher3-edmonton
This commit is contained in:
@@ -163,7 +163,7 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil
|
||||
AnimatorSetBuilder builder, AnimationConfig config) {
|
||||
float targetProgress = toState.getVerticalProgress(mLauncher);
|
||||
if (Float.compare(mProgress, targetProgress) == 0) {
|
||||
setAlphas(toState, config.getProperSetter(builder));
|
||||
setAlphas(toState, config.getPropertySetter(builder));
|
||||
// Fail fast
|
||||
onProgressAnimationEnd();
|
||||
return;
|
||||
@@ -178,7 +178,7 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil
|
||||
|
||||
builder.play(anim);
|
||||
|
||||
setAlphas(toState, config.getProperSetter(builder));
|
||||
setAlphas(toState, config.getPropertySetter(builder));
|
||||
}
|
||||
|
||||
private void setAlphas(LauncherState toState, PropertySetter setter) {
|
||||
|
||||
Reference in New Issue
Block a user