hide cursor only when puzzle is loaded already
This commit is contained in:
parent
b6999e4f1f
commit
34fbf05e2f
2 changed files with 2 additions and 1 deletions
|
|
@ -374,6 +374,7 @@ async function main() {
|
||||||
fireworks.init(canvas)
|
fireworks.init(canvas)
|
||||||
|
|
||||||
const ctx = canvas.getContext('2d')
|
const ctx = canvas.getContext('2d')
|
||||||
|
canvas.classList.add('loaded')
|
||||||
|
|
||||||
// initialize some view data
|
// initialize some view data
|
||||||
// this global data will change according to input events
|
// this global data will change according to input events
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ a:hover { color: var(--link-hover-color); }
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
canvas {
|
canvas.loaded {
|
||||||
cursor: none;
|
cursor: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue