[FEAT] Import bug fix
This commit is contained in:
@@ -197,9 +197,10 @@
|
|||||||
height: spriteData.height,
|
height: spriteData.height,
|
||||||
x: spriteData.x || 0,
|
x: spriteData.x || 0,
|
||||||
y: spriteData.y || 0,
|
y: spriteData.y || 0,
|
||||||
rotation: spriteData.rotation || 0,
|
// Transformations are already baked into the base64 image
|
||||||
flipX: spriteData.flipX || false,
|
rotation: 0,
|
||||||
flipY: spriteData.flipY || false,
|
flipX: false,
|
||||||
|
flipY: false,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
img.src = spriteData.base64;
|
img.src = spriteData.base64;
|
||||||
|
|||||||
Reference in New Issue
Block a user