[FEAT] Import bug fix

This commit is contained in:
2025-12-17 21:40:12 +01:00
parent 0e88199e6e
commit 3120edb43b

View File

@@ -197,9 +197,10 @@
height: spriteData.height,
x: spriteData.x || 0,
y: spriteData.y || 0,
rotation: spriteData.rotation || 0,
flipX: spriteData.flipX || false,
flipY: spriteData.flipY || false,
// Transformations are already baked into the base64 image
rotation: 0,
flipX: false,
flipY: false,
});
};
img.src = spriteData.base64;