am 1733bd3d: Merge "Fix: Insertion handle can be moved just by tapping." into mnc-dev
* commit '1733bd3defde7818940d72dac95bb18fb8d70b22': Fix: Insertion handle can be moved just by tapping.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user