Fix there being a black background on the image grid #299
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ export default class ImageHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const image = await loadImage(await imageData.getBufferAsync("image/jpeg"));
|
const image = await loadImage(await imageData.getBufferAsync("image/png"));
|
||||||
|
|
||||||
const x = i % gridWidth;
|
const x = i % gridWidth;
|
||||||
const y = Math.floor(i / gridWidth);
|
const y = Math.floor(i / gridWidth);
|
||||||
|
|
Loading…
Reference in a new issue