From 9dbcf6467bacaa4689b2a6f207b37026f9a98ba5 Mon Sep 17 00:00:00 2001 From: Wei Ouyang Date: Fri, 29 Sep 2023 18:31:01 +0200 Subject: [PATCH] Improve loading animation --- public/plugins/bioengine-test-run.imjoy.html | 38 ++++++++++++-------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/public/plugins/bioengine-test-run.imjoy.html b/public/plugins/bioengine-test-run.imjoy.html index ba62f3e9..919372e7 100644 --- a/public/plugins/bioengine-test-run.imjoy.html +++ b/public/plugins/bioengine-test-run.imjoy.html @@ -233,9 +233,9 @@ } setWaiting(waiting) { - const waitAnimation = document.getElementById("wait-animation") + const waitAnimation = document.getElementById("overlay") if (waiting) { - waitAnimation.style.display = "inline-block" + waitAnimation.style.display = "flex" } else { waitAnimation.style.display = "none" } @@ -325,15 +325,17 @@ placeholder="Input axes" id="input-axes-input" /> -
-