Spaces:
Runtime error
Runtime error
Commit
·
3943469
1
Parent(s):
a2d3df0
Update static/index.html
Browse files- static/index.html +1 -1
static/index.html
CHANGED
|
@@ -93,7 +93,7 @@
|
|
| 93 |
|
| 94 |
// Capture mouse movements and clicks
|
| 95 |
canvas.addEventListener("mousemove", function (event) {
|
| 96 |
-
if (!isConnected) return;
|
| 97 |
let rect = canvas.getBoundingClientRect();
|
| 98 |
let x = event.clientX - rect.left;
|
| 99 |
let y = event.clientY - rect.top;
|
|
|
|
| 93 |
|
| 94 |
// Capture mouse movements and clicks
|
| 95 |
canvas.addEventListener("mousemove", function (event) {
|
| 96 |
+
if (!isConnected || isProcessing) return;
|
| 97 |
let rect = canvas.getBoundingClientRect();
|
| 98 |
let x = event.clientX - rect.left;
|
| 99 |
let y = event.clientY - rect.top;
|