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

Commit 1733bd3d authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi Committed by Android (Google) Code Review
Browse files

Merge "Fix: Insertion handle can be moved just by tapping." into mnc-dev

parents 35f6c005 bc89a5ce
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3770,7 +3770,8 @@ public class Editor {
                    }
                    mTouchToWindowOffsetY = newVerticalOffset + mLastParentY;

                    final float newPosX = rawX - mTouchToWindowOffsetX + mHotspotX;
                    final float newPosX =
                            rawX - mTouchToWindowOffsetX + mHotspotX + getHorizontalOffset();
                    final float newPosY = rawY - mTouchToWindowOffsetY + mTouchOffsetY;

                    updatePosition(newPosX, newPosY);