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

Commit 81df2aa2 authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi Committed by Android Git Automerger
Browse files

am b5329008: am 3e7965f7: am 1733bd3d: Merge "Fix: Insertion handle can be...

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

* commit 'b5329008':
  Fix: Insertion handle can be moved just by tapping.
parents 4986c2b7 b5329008
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);