dwelle 3 лет назад
Родитель
Сommit
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 &&