let it be constant
This commit is contained in:
parent
7d4d94cf1c
commit
bdc973e87e
1 changed files with 1 additions and 1 deletions
2
sky.js
2
sky.js
|
|
@ -1,5 +1,5 @@
|
||||||
(function () {
|
(function () {
|
||||||
let canvas = document.getElementById("canvas");
|
const canvas = document.getElementById("canvas");
|
||||||
canvas.width = window.innerWidth;
|
canvas.width = window.innerWidth;
|
||||||
canvas.height = window.innerHeight;
|
canvas.height = window.innerHeight;
|
||||||
canvas.onclick = () => {
|
canvas.onclick = () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue