diff options
| author | Adam Malczewski <[email protected]> | 2026-10-21 21:16:00 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-10-21 21:16:00 +0900 |
| commit | 87c703a3c2f1f44b5e4e1393c0b29faec27a5ea2 (patch) | |
| tree | 102ed27270447cca840210165334be768b849328 /src/features | |
| parent | 4b1a139140236f82ad0c749c7ef2175b3aaae25f (diff) | |
| download | dispatch-web-87c703a3c2f1f44b5e4e1393c0b29faec27a5ea2.tar.gz dispatch-web-87c703a3c2f1f44b5e4e1393c0b29faec27a5ea2.zip | |
feat(tabs): slow the tab animation phases to 0.2s / 0.3s / 0.2s
Diffstat (limited to 'src/features')
| -rw-r--r-- | src/features/tabs/ui/tab-flip.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/features/tabs/ui/tab-flip.ts b/src/features/tabs/ui/tab-flip.ts index 4be0b15..2569b3d 100644 --- a/src/features/tabs/ui/tab-flip.ts +++ b/src/features/tabs/ui/tab-flip.ts @@ -35,9 +35,9 @@ export interface TabFlip { play(): void; } -const SHRINK = 0.1; -const MOVE = 0.15; -const GROW = 0.1; +const SHRINK = 0.2; +const MOVE = 0.3; +const GROW = 0.2; const SIZE_EASE = "power2.inOut"; const MOVE_EASE = "power3.out"; const GHOST_ATTR = "data-tab-ghost"; |
