Use a minimum touch size for selection handle hit testing
Certain Android devices, as well as stylus and mouse inputs, may report zero for the touch size. These sizes are used when constructing the rect for touch handle insersection tests. However, gfx::RectBase will always report false when performing the intersection test if either rect is empty. Add an appropriate epsilon minimum touch size when forming the touch bounding box rect. BUG=402795 Review URL: https://codereview.chromium.org/462163002 Cr-Commit-Position: refs/heads/master@{#289501} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289501 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment