Fix: Scala sbagliata

This commit is contained in:
2021-12-21 17:14:18 +01:00
parent 79c7cd9642
commit 4c0a6ed1c0
+2 -2
View File
@@ -69,7 +69,7 @@ function updateCanvasDimensions() {
$canvas.width = WIDTH * devicePixelRatio;
$canvas.height = HEIGHT * devicePixelRatio;
g.scale(2, 2);
g.scale(devicePixelRatio, devicePixelRatio);
}
window.addEventListener('resize', () => updateCanvasDimensions());
@@ -326,7 +326,7 @@ function render() {
window.addEventListener('DOMContentLoaded', () => {
// $canvas.classList.remove('hide');
render();
render();
let i = 20;
while (i > 0) {