fix
This commit is contained in:
@@ -203,9 +203,9 @@
|
||||
let scaleY = ((cheight / image.height) * item.scale[1]) / 5;
|
||||
let scale = cwidth > cheight ? scaleX : scaleY;
|
||||
let offsetX =
|
||||
(item.location[0] * cwidth) / props.width + (image.width * scale) / 2;
|
||||
(item.location[0] * cwidth) / props.width - (image.width * scale) / 2;
|
||||
let offsetY =
|
||||
(item.location[1] * cheight) / props.height +
|
||||
(item.location[1] * cheight) / props.height -
|
||||
(image.height * scale) / 2;
|
||||
let angle = item.angle;
|
||||
let gapX = item.object.gapX;
|
||||
|
||||
Reference in New Issue
Block a user