Mouse cursor only shows part of the dragged selection

This commit is contained in:
janekptacijarabaci
2017-07-10 19:34:01 +02:00
committed by Roy Tam
parent d2e60f631a
commit 6dc1b46bcb
+1 -1
View File
@@ -5286,7 +5286,7 @@ PresShell::PaintRangePaintInfo(nsTArray<nsAutoPtr<RangePaintInfo> >* aItems,
gfxPoint rootOffset =
nsLayoutUtils::PointToGfxPoint(rangeInfo->mRootOffset,
pc->AppUnitsPerDevPixel());
ctx->SetMatrix(initialTM.Translate(rootOffset));
ctx->SetMatrix(gfxMatrix(initialTM).Translate(rootOffset));
aArea.MoveBy(-rangeInfo->mRootOffset.x, -rangeInfo->mRootOffset.y);
nsRegion visible(aArea);
nsRefPtr<LayerManager> layerManager =