dpage
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user