diff --git a/src/App.js b/src/App.js index 7ed1c0c..8d24763 100644 --- a/src/App.js +++ b/src/App.js @@ -27,10 +27,10 @@ function App() { offscreenCanvas.width = frameSize offscreenCanvas.height = frameSize - const offscreenCanvas_ctx = offscreenCanvas.getContext('2d', { alpha: false }) const width = frameSize const height = (img.height / img.width) * frameSize + const offscreenCanvas_ctx = offscreenCanvas.getContext('2d', { alpha: true }) offscreenCanvas_ctx.drawImage( img, (frameSize - width) / 2,