mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Bug 1220853 - Notify wheel transaction of mouse move when using async dragging. r=kats
--HG-- extra : commitid : Aw8xxcgcHKF
This commit is contained in:
parent
91c354b0d4
commit
0f1d97ed61
@ -1051,6 +1051,11 @@ APZCTreeManager::ProcessMouseEvent(WidgetMouseEventBase& aEvent,
|
|||||||
ScrollableLayerGuid* aOutTargetGuid,
|
ScrollableLayerGuid* aOutTargetGuid,
|
||||||
uint64_t* aOutInputBlockId)
|
uint64_t* aOutInputBlockId)
|
||||||
{
|
{
|
||||||
|
MOZ_ASSERT(NS_IsMainThread());
|
||||||
|
|
||||||
|
// Note, we call this before having transformed the reference point.
|
||||||
|
UpdateWheelTransaction(aEvent);
|
||||||
|
|
||||||
MouseInput input(aEvent);
|
MouseInput input(aEvent);
|
||||||
input.mOrigin = ScreenPoint(aEvent.refPoint.x, aEvent.refPoint.y);
|
input.mOrigin = ScreenPoint(aEvent.refPoint.x, aEvent.refPoint.y);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user