This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with longpress drag selection motion
If the user has already dragged outside the initial selected word region by the time the browser gets a selection update, or if the selected word isn't coincident with the longpress location, the subsequently dragged selection endpoint can be wrong. For such cases, rather than using the drag direction for drag anchor picking, just use the distance between the current touch point and the selection endpoints. BUG=466749 Review URL: https://codereview.chromium.org/1271823002 Cr-Commit-Position: refs/heads/master@{#341791} (cherry picked from commit a188bd6) Review URL: https://codereview.chromium.org/1259593010 . Cr-Commit-Position: refs/branch-heads/2454@{#228} Cr-Branched-From: 12bfc33-refs/heads/master@{#338390}
- Loading branch information
Jared Duke
committed
Aug 4, 2015
1 parent
30b1422
commit 5e1e7b4
Showing
2 changed files
with
59 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters