From 185b52fbefd2a2f0a9dbf200179e6665b062c3f2 Mon Sep 17 00:00:00 2001 From: Maxwell Barvian Date: Wed, 12 Jun 2024 06:09:08 -0500 Subject: [PATCH] Faster browser anim --- site/pages/_Browser.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/pages/_Browser.svelte b/site/pages/_Browser.svelte index 81a915a..0559b23 100644 --- a/site/pages/_Browser.svelte +++ b/site/pages/_Browser.svelte @@ -20,7 +20,7 @@ onMount(() => { setTimeout(() => (showCursor = true), 0) - setTimeout(() => (animating = true), 400) // wait to show the pressed cursor state + setTimeout(() => (animating = true), 100) // wait to show the pressed cursor state setTimeout(async () => { await margin.set(23) // biggest value, in rems animating = showCursor = false @@ -30,7 +30,7 @@ duration: 0, delay: 0 }) - }, 400 /* initial delay */ + 250 /* another delay, accounting for cursor press transition */) + }, 100 /* initial delay */ + 250 /* another delay, accounting for cursor press transition */) })