Merge "Fix: Insertion handle can be moved just by tapping." into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1733bd3def
@@ -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