Allow another touch start happen when there are active touch points
Now when there are active touch points and we dispatch a touch start, an error "Must have no prior active touch points to start a new touch." will throw out. We should allow this case happens: Input.dispatchEvent({ type: 'touchStart', touchPoints: [{ x: 100, y: 100, id: 1 }] }); Input.dispatchEvent({ type: 'touchStart', touchPoints: [{ x: 100, y: 100, id: 1 }, { x: 150, y: 100, id: 2 }] }); Bug: 1020674 Change-Id: Ib5cae40864312977f03b2c9671edd7c46637be7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1927951 Commit-Queue: Lan Wei <lanwei@chromium.org> Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Cr-Commit-Position: refs/heads/master@{#718846}
Showing
Please register or sign in to comment