• Alice Mikhaylenko's avatar
    gestureswipe: Count last event when calculating velocity · 847d378f
    Alice Mikhaylenko authored
    The last event, matching lifting the finger/releasing the mouse button,
    is important when there's a large delay between it and the previous events,
    as in when performing a movement, stopping, then releasing fingers as
    opposed to doing a swipe.
    If this event is skipped, doing this will result in kinetic deceleration
    matching the previous finger movement, while the expected behavior would
    be no deceleration.
    See also 97f54062 for a similar fix in