• Tong Mu's avatar
    Fix edge cases of PointerEventConverter (#29998) · 423cf223
    Tong Mu authored
    * Fix: ui.PointerChange.remove might contain position change, but we used to expand it into a Cancel and Remove, neither of which allows position change. A Hover event is added, and a test is updated accordingly.
    * Fixed the issue where a PointerMoveEvent and a PointerCancelEvent do not receive the correct pressure.
    * Refactor the calculation of delta into deltaTo.
    423cf223
gesture_binding_test.dart 9.86 KB