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

Commit 887262ed authored by Andy Wickham's avatar Andy Wickham Committed by Android (Google) Code Review
Browse files

Merge "Center navbar pulse animation." into main

parents ab561254 b7048beb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -105,8 +105,8 @@ public class NavigationHandle extends View implements ButtonInterface {
        float height = mRadius * 2 + additionalHeight;
        float additionalWidth = mAdditionalWidthForAnimation * mPulseAnimationProgress;
        float width = getWidth() + additionalWidth;
        float x = -(additionalWidth / 2);
        float y = navHeight - mBottom - height - (additionalHeight / 2);
        float x = -additionalWidth;
        float y = navHeight - mBottom - height + (additionalHeight / 2);
        float adjustedRadius = height / 2;
        canvas.drawRoundRect(x, y, width, y + height, adjustedRadius, adjustedRadius, mPaint);
    }