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

Commit 0d221ff7 authored by Robert Carr's avatar Robert Carr Committed by Rob Carr
Browse files

Fix stack animation background coordinates.

Forgot that we aren't yet in a relative coordinate space for the stack!

Bug: 69623943
Test: Manual
Change-Id: Id4285355dc0da967f450dacd0eb59372be9d2426
parent 1edf09c9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -257,8 +257,9 @@ public class TaskStack extends WindowContainer<Task> implements
        if (mAnimationBackgroundSurface == null) {
            return;
        }
        // TODO: Should be in relative coordinates.
        getPendingTransaction().setSize(mAnimationBackgroundSurface, bounds.width(), bounds.height())
                .setPosition(mAnimationBackgroundSurface, 0, 0);
                .setPosition(mAnimationBackgroundSurface, bounds.left, bounds.top);
        scheduleAnimation();
    }