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

Commit 92b82439 authored by Mady Mellor's avatar Mady Mellor
Browse files

Fix shade background not aligning with bottom of a group

The extra padding used to show the shadow at the bottom of a group
was wrongly being subtracted from the shade background causing a
misalignment with the bottom of the group and the shade background.

Change-Id: Ia138fcdcb5428605b59f5448ee125c6b3f3e0d93
Fixes: 29250090
parent a86d6c4d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1958,8 +1958,7 @@ public class NotificationStackScrollLayout extends ViewGroup
                // we're ending up at the same location as we are now, lets just skip the animation
                bottom = finalBottom;
            } else {
                bottom = (int) (lastView.getTranslationY() + lastView.getActualHeight()
                        - lastView.getExtraBottomPadding());
                bottom = (int) (lastView.getTranslationY() + lastView.getActualHeight());
                bottom = Math.min(bottom, getHeight());
            }
        } else {