debug artifact

This commit is contained in:
Mylloon 2024-12-16 13:22:42 +01:00
parent cfbf5dc609
commit 31ccab99e1
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -34,7 +34,6 @@ const svgChangeTheme = (mode) => {
canvas.height = image.naturalHeight; canvas.height = image.naturalHeight;
const ctx = canvas.getContext("2d"); const ctx = canvas.getContext("2d");
ctx.drawImage(image, 0, 0); ctx.drawImage(image, 0, 0);
console.log(image);
const imageData = ctx.getImageData( const imageData = ctx.getImageData(
0, 0,