Browse Source

remove debug

dwelle 3 năm trước cách đây
mục cha
commit
75e2d9e359
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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 &&