mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1041471 - Call CancelAnimation() on a touch-cancel. r=kats
This commit is contained in:
parent
dad86ed507
commit
28234424f8
@ -1147,7 +1147,7 @@ nsEventStatus AsyncPanZoomController::OnTouchEnd(const MultiTouchInput& aEvent)
|
||||
nsEventStatus AsyncPanZoomController::OnTouchCancel(const MultiTouchInput& aEvent) {
|
||||
APZC_LOG("%p got a touch-cancel in state %d\n", this, mState);
|
||||
OnTouchEndOrCancel();
|
||||
SetState(NOTHING);
|
||||
CancelAnimation();
|
||||
return nsEventStatus_eConsumeNoDefault;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user