mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00
Bug 1242690 - Don't apply the main-thread callback transform for events in a drag block. r=rbarker
MozReview-Commit-ID: 9C471AJaKjt
This commit is contained in:
parent
3852f2d195
commit
6c01d2a7c5
@ -718,6 +718,12 @@ APZCTreeManager::ReceiveInputEvent(InputData& aEvent,
|
||||
if (untransformedRefPoint) {
|
||||
mouseInput.mOrigin = *untransformedRefPoint;
|
||||
}
|
||||
} else {
|
||||
// Likewise, if the input was targeted at a scrollbar, we don't want to
|
||||
// apply the callback transform in the main thread, so we remove the
|
||||
// scrollid from the guid. We need to keep the layersId intact so
|
||||
// that the response from the child process doesn't get discarded.
|
||||
aOutTargetGuid->mScrollId = FrameMetrics::NULL_SCROLL_ID;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user