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

Commit 056396ed authored by Selim Cinek's avatar Selim Cinek Committed by Android Git Automerger
Browse files

am 02faebd2: Merge "Fixed the calculation of the clipTopAmount which lead to...

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

* commit '02faebd2bab4524e9ba0c9fcd288ad1a09f8feef':
  Fixed the calculation of the clipTopAmount which lead to holes.
parents a46ac509 62e23396
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;
            }