Skip to content

Commit

Permalink
Revert "canvas: resetCtxToDefault should also reset the transform mat…
Browse files Browse the repository at this point in the history
…rix."

This reverts commit 434aa4b.
  • Loading branch information
emilio committed Sep 11, 2020
1 parent d381bbf commit 464f3dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/display/canvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,6 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
ctx.miterLimit = 10;
ctx.globalCompositeOperation = "source-over";
ctx.font = "10px sans-serif";
ctx.setTransform(1, 0, 0, 1, 0, 0);
if (ctx.setLineDash !== undefined) {
ctx.setLineDash([]);
ctx.lineDashOffset = 0;
Expand Down

0 comments on commit 464f3dd

Please sign in to comment.