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

Commit 54e13f24 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Offset drag to desktop bounds to start position." into main

parents ef4ceb4e b4a0daa9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1411,7 +1411,7 @@ constructor(
        val startScale = state.dragAnimator.scale
        val startPosition = state.dragAnimator.position
        val startBoundsWithOffset =
            Rect(startBounds).apply { offset(startPosition.x.toInt(), startPosition.y.toInt()) }
            Rect(startBounds).apply { offsetTo(startPosition.x.toInt(), startPosition.y.toInt()) }

        logV(
            "animateEndDragToDesktop: startBounds=$startBounds, endBounds=$endBounds, " +