chore: change easing method of tab crossfade

This commit is contained in:
2025-08-05 22:12:22 +02:00
parent 20e5961b7c
commit 509aa36379

View File

@@ -110,6 +110,7 @@
import Hearts from '@/components/ui/effects/Hearts.svelte';
import { EZPPActionStatus } from '@/types';
import * as presence from '@/presence';
import { expoOut } from 'svelte/easing';
const tabs = [
{ name: 'Home', key: 'home' },
@@ -121,6 +122,7 @@
let selectedTab = $state('home');
let [tab_send, tab_receive] = crossfade({
duration: $reduceAnimations ? 0 : 400,
easing: expoOut,
});
let progress = $state(-1);
let launchInfo = $state('');