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

Commit 3260168f authored by Tony Wickham's avatar Tony Wickham
Browse files

Bound progress to 0 to 1

Test: Swipe up far to overview, ensure corners stay rounded throughout
Change-Id: Ie8694237586dad3d2f3605d2a395f1079c9cebc1
parent 43968167
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ public class AppWindowAnimationHelper {
            return null;
        }

        float progress = params.progress;
        float progress = Utilities.boundToRange(params.progress, 0, 1);
        updateCurrentRect(params);

        SurfaceParams[] surfaceParams = new SurfaceParams[params.targetSet.unfilteredApps.length];