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

Commit 62e23396 authored by Selim Cinek's avatar Selim Cinek Committed by Android (Google) Code Review
Browse files

Merge "Fixed the calculation of the clipTopAmount which lead to holes." into lmp-preview-dev

parents 099053d8 e2997933
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -186,7 +186,7 @@ public class StackScrollAlgorithm {
            if (!child.isTransparent()) {
                // Only update the previous values if we are not transparent,
                // otherwise we would clip to a transparent view.
                previousNotificationStart = newYTranslation + child.getClipTopAmount();
                previousNotificationStart = newYTranslation + state.clipTopAmount;
                previousNotificationEnd = newNotificationEnd;
                previousNotificationIsSwiped = child.getTranslationX() != 0;
            }