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

Commit 2e788718 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 am: 04a79624

Change-Id: Ie1493d3591f8c2c528c94fff50d5024bb66fa717
parents 12baffe6 04a79624
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);