mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1633103 - Use SetState to ensure we dispatch appropriate state change notifications. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D72945
This commit is contained in:
parent
964d69b146
commit
4e454e564a
@ -2637,7 +2637,7 @@ nsEventStatus AsyncPanZoomController::OnPan(const PanGestureInput& aEvent,
|
||||
// scroll events from unexpectedly causing scrolling later if somehow
|
||||
// the APZC becomes scrollable again in this direction (e.g. if the user
|
||||
// uses some other input method to scroll in the opposite direction).
|
||||
mState = NOTHING;
|
||||
SetState(NOTHING);
|
||||
}
|
||||
|
||||
return nsEventStatus_eConsumeNoDefault;
|
||||
|
Loading…
Reference in New Issue
Block a user