mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1117712 - Update the screen-to-local transform matrix for an input block if the target APZC changes. r=kats
This commit is contained in:
parent
a53babd8c4
commit
bf5d010493
@ -51,6 +51,7 @@ InputBlockState::SetConfirmedTargetApzc(const nsRefPtr<AsyncPanZoomController>&
|
||||
|
||||
// note that aTargetApzc MAY be null here.
|
||||
mTargetApzc = aTargetApzc;
|
||||
mTransformToApzc = aTargetApzc ? aTargetApzc->GetTransformToThis() : gfx::Matrix4x4();
|
||||
mOverscrollHandoffChain = (mTargetApzc ? mTargetApzc->BuildOverscrollHandoffChain() : nullptr);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user