let it be constant

This commit is contained in:
Sander Hautvast 2020-12-02 14:02:38 +01:00
parent 7d4d94cf1c
commit bdc973e87e

2
sky.js
View file

@ -1,5 +1,5 @@
(function () {
let canvas = document.getElementById("canvas");
const canvas = document.getElementById("canvas");
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
canvas.onclick = () => {