diff options
| author | Keisuke Kuroyanagi <ksk@google.com> | 2015-04-28 05:10:55 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-28 05:10:55 +0000 |
| commit | a3a411ec68024332ffb3c261374adc05a4e15b68 (patch) | |
| tree | 60a358d8b391d1c6f7a436fdf5aa9704f34a3ef9 | |
| parent | 3f98c14dc6fea2dfc09fb917fe9eaae0f6cce176 (diff) | |
| parent | d2b9bd80a20e5339bd2555d83d11a5cd88a20034 (diff) | |
| download | frameworks_base-a3a411ec68024332ffb3c261374adc05a4e15b68.zip frameworks_base-a3a411ec68024332ffb3c261374adc05a4e15b68.tar.gz frameworks_base-a3a411ec68024332ffb3c261374adc05a4e15b68.tar.bz2 | |
am d2b9bd80: Merge "Fix: End handle disappears when the selection is short." into mnc-dev
* commit 'd2b9bd80a20e5339bd2555d83d11a5cd88a20034':
Fix: End handle disappears when the selection is short.
| -rw-r--r-- | core/java/android/widget/Editor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/Editor.java b/core/java/android/widget/Editor.java index f1be434..39b9907 100644 --- a/core/java/android/widget/Editor.java +++ b/core/java/android/widget/Editor.java @@ -3563,7 +3563,7 @@ public class Editor { return false; } - return isPositionVisible(mPositionX + mHotspotX, mPositionY); + return isPositionVisible(mPositionX + mHotspotX + getHorizontalOffset(), mPositionY); } public abstract int getCurrentCursorOffset(); |
