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

Commit 01b614e0 authored by András Kurucz's avatar András Kurucz Committed by Android (Google) Code Review
Browse files

Merge "[Flexiglass] offset NSSL drawbounds by its top margin" into main

parents d265afe3 98e2a6c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1368,7 +1368,7 @@ public class NotificationStackScrollLayout
        if (SceneContainerFlag.isUnexpectedlyInLegacyMode()) return;
        // The received drawBounds are relative to the Window, but NSSL  expects a rect relative to
        // its own position, so we need to offset it in case the NSSL has some horizontal margins.
        drawBounds.offset(-getX(), 0f);
        drawBounds.offset(-getX(), -getY());
        if (mAmbientState.getDrawBounds() != drawBounds) {
            mAmbientState.setDrawBounds(drawBounds);
            updateStackEndHeightAndStackHeight(mAmbientState.getExpansionFraction());