• Callum Moffat's avatar
    Don't synthesize primary pointer button unless buttons = 0 (#85808) · 6909c544
    Callum Moffat authored
    Some embeddings might send pointer events with buttons = 0x2 (right-click) for touch or stylus device kinds. If the primary button is synthesized for those events, they won't behave properly. Without this change it's not possible to trigger "secondary tap" events on a TapGestureRecognizer while using a stylus or on an iPad trackpad, since that recognizer will receive buttons = 0x3.
    6909c544
converter.dart 9.28 KB