From e3322d6d7baa9d832d0af3c7208e94c4d98b3084 Mon Sep 17 00:00:00 2001 From: JosiahFu Date: Wed, 29 May 2024 18:16:06 -0700 Subject: [PATCH] Tweak connection button flag --- src/ConnectionButton.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ConnectionButton.svelte b/src/ConnectionButton.svelte index 8377a68..ba55020 100644 --- a/src/ConnectionButton.svelte +++ b/src/ConnectionButton.svelte @@ -12,9 +12,9 @@ let tooltipShown = false; $: { - if (!host || connected) { - tooltipShown = true - if (connected) setTimeout(() => tooltipShown = false, 5000); + tooltipShown = true + if (connected || host) { + setTimeout(() => tooltipShown = false, 4000); } }