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

Commit 3e7965f7 authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi Committed by Android Git Automerger
Browse files

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

* commit '1733bd3d':
  Fix: Insertion handle can be moved just by tapping.
parents 90b078d5 1733bd3d
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);