From a5c970db11c6dbd2836ab3a0feb84d7f992ddf8b Mon Sep 17 00:00:00 2001 From: AsbjornOlling Date: Sun, 21 Aug 2022 22:57:32 +0200 Subject: [PATCH] shrink, slow down, and re-color scanning indicator --- chatapp.svg | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/chatapp.svg b/chatapp.svg index f15c35a..2f2acde 100644 --- a/chatapp.svg +++ b/chatapp.svg @@ -9,7 +9,7 @@ viewBox="0 0 300 600" onload="start_chat('Ven')" overflow="auto" - style="font-family: sans;" + style="font-family: sans; border-radius: 10px;" > @@ -392,7 +392,7 @@ async function local_message_processing(will_be_flagged) { let text_element = document.getElementById('message_status'); let indicator = text_element.childNodes[0]; indicator.data = 'scanning for illegal content'; - await wait(200); + await wait(800); if(will_be_flagged) { let box = document.getElementById('message_status_box'); text_element.setAttribute('fill', 'red'); @@ -400,12 +400,12 @@ async function local_message_processing(will_be_flagged) { indicator.data = 'Reporting suspicious content'; await wait(1000); text_element.setAttribute('fill', 'white'); - box.setAttribute('fill', '#0084FF'); + box.setAttribute('fill', '#FF7B00'); } indicator.data = 'encrypting message'; - await wait(250); + await wait(550); indicator.data = 'sending message'; - await wait(100); + await wait(500); indicator.data = 'message was sent'; } @@ -529,8 +529,8 @@ async function dialog_nabopige() { - -status + +status