This commit is contained in:
hamid zarghami
2026-05-21 12:21:44 +03:30
parent 4390937b19
commit b6bff9956a
11 changed files with 187 additions and 11 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ const drawObject = async (
ctx.scale(object.scaleX || 1, object.scaleY || 1);
// برای image objects
if (object.type === "image" || object.type === "document") {
if (object.type === "image" || object.type === "document" || object.type === "sticker") {
if (object.imageUrl) {
const img = new Image();
img.crossOrigin = "anonymous";