diff --git a/.gitignore b/.gitignore index 97223e6b..c9a7c427 100644 --- a/.gitignore +++ b/.gitignore @@ -44,4 +44,7 @@ yarn-error.log* bun.lockb #tests -id_* \ No newline at end of file +id_* + +# Rust +target \ No newline at end of file diff --git a/packages/ui/src/image/image-loader.tsx b/packages/ui/src/image/image-loader.tsx index 472c011b..1fad1a4e 100644 --- a/packages/ui/src/image/image-loader.tsx +++ b/packages/ui/src/image/image-loader.tsx @@ -46,7 +46,7 @@ export const ImageLoader = component$((props: ImageLoaderProps) => { const ctx = canvas.getContext('2d', { willReadFrequently: true }); if (!ctx) return; - img.crossOrigin = "anonymous" + // img.crossOrigin = "anonymous" canvas.width = img.width; canvas.height = img.height; ctx.drawImage(img, 0, 0, canvas.width, canvas.height);