Skip to content

Commit f39800f

Browse files
committed
Fixed rotation error
1 parent 4df59a8 commit f39800f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

actions/canvas_create_image_MOD.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44

55
section: 'Image Editing',
66

7-
version: '3.0.1',
7+
version: '3.0.2',
88

99
subtitle (data) {
1010
return `${data.url}`

actions/canvas_image_options_MOD.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ module.exports = {
8181
}
8282
const options = {}
8383
if (typeof data.mirror !== 'undefined') options.flip = parseInt(data.mirror)
84-
if (typeof data.rotate !== 'undefined') options.rotate = parseInt(data.rotation)
84+
if (typeof data.rotation !== 'undefined') options.rotate = parseInt(data.rotation)
8585
if (typeof data.resampling !== 'undefined') options.resampling = parseInt(data.resampling)
8686
const scalex = this.evalMessage(data.width, cache)
8787
const scaley = this.evalMessage(data.height, cache)

0 commit comments

Comments
 (0)