Change-Id: I193476e121c12dacdb7b286df18b97b05b2a4729
cursorRect = __pCopyPasteManager->GetCursorBoundsF(false);
absCursorRect = __pCopyPasteManager->GetCursorBoundsF(true);
touchPoint.x = cursorRect.x + (point.x - __touchPressedPoint.x);
- touchPoint.y = cursorRect.y + cursorRect.height + (point.y - __touchPressedPoint.y);
+ if (totalLine == 1)
+ {
+ touchPoint.y = cursorRect.y + cursorRect.height/2;
+ }
+ else
+ {
+ touchPoint.y = cursorRect.y + cursorRect.height + (point.y - __touchPressedPoint.y);
+ }
cursorPos = __pCopyPasteManager->GetCursorPositionAt(touchPoint);
if (cursorPos != -1)