зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1195209 - Modify the matrix calculation for landscape mode. r=mattwoodrow
This commit is contained in:
Родитель
2f4cac96c2
Коммит
cf9dcf0e40
|
@ -509,7 +509,7 @@ ClientLayerManager::MakeSnapshotIfRequired()
|
|||
gfx::Matrix rotate = ComputeTransformForUnRotation(outerBounds, mTargetRotation);
|
||||
|
||||
gfx::Matrix oldMatrix = dt->GetTransform();
|
||||
dt->SetTransform(oldMatrix * rotate);
|
||||
dt->SetTransform(rotate * oldMatrix);
|
||||
dt->DrawSurface(surf, dstRect, srcRect,
|
||||
DrawSurfaceOptions(),
|
||||
DrawOptions(1.0f, CompositionOp::OP_OVER));
|
||||
|
|
Загрузка…
Ссылка в новой задаче