Spaces:
Sleeping
Sleeping
fix
Browse files- js/interactive_grid.js +1 -1
js/interactive_grid.js
CHANGED
@@ -228,7 +228,7 @@ function drawBackgroundBefore() {
|
|
228 |
const xOffset = (canvasWidth - newWidth) / 2;
|
229 |
const yOffset = (canvasHeight - newHeight) / 2;
|
230 |
|
231 |
-
ctx_bef.drawImage(canvasBg_bef, 0, 0, bgWidth, bgHeight,
|
232 |
}
|
233 |
}
|
234 |
|
|
|
228 |
const xOffset = (canvasWidth - newWidth) / 2;
|
229 |
const yOffset = (canvasHeight - newHeight) / 2;
|
230 |
|
231 |
+
ctx_bef.drawImage(canvasBg_bef, 0, 0, bgWidth, bgHeight, 0, 0, newWidth, newHeight);
|
232 |
}
|
233 |
}
|
234 |
|