Skip to content

Commit 9e4fdfa

Browse files
George MountAndroid (Google) Code Review
authored andcommitted
Merge "Move the selection handles vertically to match TextView."
2 parents baad5d5 + f5124e3 commit 9e4fdfa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4924,11 +4924,9 @@ private void drawTextSelectionHandles(Canvas canvas) {
49244924
*/
49254925
private void getSelectionHandles(int[] handles) {
49264926
handles[0] = mSelectCursorBase.right;
4927-
handles[1] = mSelectCursorBase.bottom -
4928-
(mSelectCursorBase.height() / 4);
4927+
handles[1] = mSelectCursorBase.bottom;
49294928
handles[2] = mSelectCursorExtent.left;
4930-
handles[3] = mSelectCursorExtent.bottom
4931-
- (mSelectCursorExtent.height() / 4);
4929+
handles[3] = mSelectCursorExtent.bottom;
49324930
if (!nativeIsBaseFirst(mNativeClass)) {
49334931
int swap = handles[0];
49344932
handles[0] = handles[2];

0 commit comments

Comments
 (0)