Merge "Adjust all apps zoom level" into sc-v2-dev

This commit is contained in:
Lucas Dupin 2021-08-10 15:21:10 +00:00 committed by Android (Google) Code Review
commit 830b12efad
1 changed files with 3 additions and 1 deletions

View File

@ -70,7 +70,9 @@ public class AllAppsState extends LauncherState {
@Override
protected float getDepthUnchecked(Context context) {
return 1f;
// The scrim fades in at approximately 50% of the swipe gesture.
// This means that the depth should be greater than 1, in order to fully zoom out.
return 2f;
}
@Override