Skip to content

Commit 4484590

Browse files
committed
Remove unnecessary pixel ratio scale transform.
1 parent 24eda0f commit 4484590

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

js/load-image-scale.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@
228228
) {
229229
destWidth *= pixelRatio
230230
destHeight *= pixelRatio
231-
canvas.getContext('2d').scale(pixelRatio, pixelRatio)
232231
}
233232
// Check if workaround for Chromium orientation crop bug is required:
234233
// https://bugs.chromium.org/p/chromium/issues/detail?id=1074354

0 commit comments

Comments
 (0)