hide cursor only when puzzle is loaded already

This commit is contained in:
Zutatensuppe 2021-04-14 19:39:26 +02:00
parent b6999e4f1f
commit 34fbf05e2f
2 changed files with 2 additions and 1 deletions

View file

@ -374,6 +374,7 @@ async function main() {
fireworks.init(canvas)
const ctx = canvas.getContext('2d')
canvas.classList.add('loaded')
// initialize some view data
// this global data will change according to input events

View file

@ -116,7 +116,7 @@ a:hover { color: var(--link-hover-color); }
cursor: pointer;
}
canvas {
canvas.loaded {
cursor: none;
}