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

Commit 04a79624 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Fix bug where screenshot jumped to the left" into rvc-dev am: aef754d2

Change-Id: Ia84ea80abed0a81067057b56b3c5af0b03e459c0
parents beb6c65e aef754d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -551,7 +551,7 @@ public class GlobalScreenshot implements ViewTreeObserver.OnComputeInternalInset
                super.onAnimationEnd(animation);
                mScreenshotView.setScaleX(cornerScale);
                mScreenshotView.setScaleY(cornerScale);
                mScreenshotView.setX(finalPos.x - height * cornerScale / 2f);
                mScreenshotView.setX(finalPos.x - width * cornerScale / 2f);
                mScreenshotView.setY(finalPos.y - height * cornerScale / 2f);
                Rect bounds = new Rect();
                mScreenshotView.getBoundsOnScreen(bounds);