mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
Bug 1917488 - Avoid a debug assertion in nsBaseWidget::MayStartSwipeForAPZ(). r=dlrobertson
Differential Revision: https://phabricator.services.mozilla.com/D229088
This commit is contained in:
parent
43107373d0
commit
1c0bf233ea
@ -2349,7 +2349,7 @@ WidgetWheelEvent nsBaseWidget::MayStartSwipeForAPZ(
|
||||
return event;
|
||||
}
|
||||
|
||||
if (aPanInput.AllowsSwipe()) {
|
||||
if (aPanInput.mHandledByAPZ && aPanInput.AllowsSwipe()) {
|
||||
SwipeInfo swipeInfo = SendMayStartSwipe(aPanInput);
|
||||
event.mCanTriggerSwipe = swipeInfo.wantsSwipe;
|
||||
if (swipeInfo.wantsSwipe) {
|
||||
|
Loading…
Reference in New Issue
Block a user