Skip to content

Commit 2f1896a

Browse files
authored
Merge pull request mailru#429 from RomainMazB/master
Allow overlay to be queueable with rotate
2 parents 9aedc63 + c1cb367 commit 2f1896a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

dist/FileAPI.html5.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,6 +2084,9 @@
20842084
, (deg == 90 || deg == 180 ? -dh : 0)
20852085
, dw, dh
20862086
);
2087+
2088+
ctx.setTransform(1, 0, 0, 1, 0, 0);
2089+
20872090
dw = canvas.width;
20882091
dh = canvas.height;
20892092

dist/FileAPI.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,6 +2084,9 @@
20842084
, (deg == 90 || deg == 180 ? -dh : 0)
20852085
, dw, dh
20862086
);
2087+
2088+
ctx.setTransform(1, 0, 0, 1, 0, 0);
2089+
20872090
dw = canvas.width;
20882091
dh = canvas.height;
20892092

0 commit comments

Comments
 (0)