[Webkit-unassigned] [Bug 201770] PointerEvent.buttons incorrect on touch move
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 16 06:40:55 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=201770
--- Comment #3 from Antoine Quint <graouts at apple.com> ---
This *should* work but clearly doesn't.
static unsigned short buttonsForType(const AtomString& type)
{
// We have contact with the touch surface for most events except when we've released the touch or canceled it.
return (type == eventNames().pointerupEvent || type == eventNames().pointeroutEvent || type == eventNames().pointerleaveEvent || type == eventNames().pointercancelEvent) ? 0 : 1;
}
This should return 1 for pointermove.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190916/e18bd5c3/attachment.html>
More information about the webkit-unassigned
mailing list