Fixed color picker format toggler for touch input.
Calling preventDefault for touchstart is going to suppress the click event that actually updates the color format. The fix here is to simply avoid handling the touchstart event since the default behavior is doing what we want. Bug: 1068066, 1069818 Change-Id: I9990d2001a2de8978019053b4615f7bbf2676372 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144460 Commit-Queue: Ionel Popescu <iopopesc@microsoft.com> Reviewed-by:Mason Freed <masonfreed@chromium.org> Cr-Commit-Position: refs/heads/master@{#758333}
Showing
18.7 KB
17.3 KB
17.5 KB