Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
SpiritAxolotl committed Dec 4, 2023
1 parent bbfe62d commit 7a8311e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/glitch/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@
def.play(startTime);
//console.log(width + " " + height);
}
canvas.onload = function() {
if (canvas.width !== width || canvas.height !== height) changeCanvasSize();
}
canvas.onload = changeCanvasSize();
window.onresize = changeCanvasSize;
</script>
</body>
Expand Down

0 comments on commit 7a8311e

Please sign in to comment.