Skip to content

Commit 464f3dd

Browse files
committed
Revert "canvas: resetCtxToDefault should also reset the transform matrix."
This reverts commit 434aa4b.
1 parent d381bbf commit 464f3dd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/display/canvas.js

-1
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,6 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
756756
ctx.miterLimit = 10;
757757
ctx.globalCompositeOperation = "source-over";
758758
ctx.font = "10px sans-serif";
759-
ctx.setTransform(1, 0, 0, 1, 0, 0);
760759
if (ctx.setLineDash !== undefined) {
761760
ctx.setLineDash([]);
762761
ctx.lineDashOffset = 0;

0 commit comments

Comments
 (0)