dwelle 3 سال پیش
والد
کامیت
75e2d9e359
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      src/element/image.ts

+ 0 - 1
src/element/image.ts

@@ -118,7 +118,6 @@ export const normalizeSVG = async (SVGString: string) => {
 export const speedyImageToCanvas = async (imageFile: Blob | File) => {
   let imageSrc: HTMLImageElement | ImageBitmap;
   if (
-    // Math.random() > 1 &&
     typeof ImageBitmap !== "undefined" &&
     ImageBitmap.prototype &&
     ImageBitmap.prototype.close &&