Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -477,12 +477,6 @@ with gr.Blocks(css=css) as demo:
|
|
477 |
document.getElementById(\"select_cursor\").style.left = 0;
|
478 |
document.getElementById(\"select_cursor\").style.top = 0;
|
479 |
}
|
480 |
-
document.getElementById(\"image_edit\").getElementsByTagName(\"canvas\")[0].onpointerleave = function(e) {
|
481 |
-
document.getElementById(\"mouse\").getElementsByTagName(\"textarea\")[0].value = \"[]\";
|
482 |
-
|
483 |
-
document.getElementById(\"select_cursor\").style.left = 0;
|
484 |
-
document.getElementById(\"select_cursor\").style.top = 0;
|
485 |
-
}
|
486 |
document.getElementById(\"image_edit\").getElementsByTagName(\"canvas\")[0].onpointerdown = function(e) {
|
487 |
document.getElementById(\"select_cursor\").style.borderColor = \"#808080\";
|
488 |
}
|
|
|
477 |
document.getElementById(\"select_cursor\").style.left = 0;
|
478 |
document.getElementById(\"select_cursor\").style.top = 0;
|
479 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
480 |
document.getElementById(\"image_edit\").getElementsByTagName(\"canvas\")[0].onpointerdown = function(e) {
|
481 |
document.getElementById(\"select_cursor\").style.borderColor = \"#808080\";
|
482 |
}
|