summaryrefslogtreecommitdiffhomepage
path: root/src/features/workspaces
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-09-07 17:36:16 +0900
committerAdam Malczewski <[email protected]>2026-09-07 17:36:16 +0900
commit828d4e4fb822ec2925c8a625bc5bf326c3425964 (patch)
tree70c111ae6dcf9cd088cddbcf4fc2cb38abee916e /src/features/workspaces
parent33d69a11e197d9aced4ce0ecff58898314f26482 (diff)
downloaddispatch-web-828d4e4fb822ec2925c8a625bc5bf326c3425964.tar.gz
dispatch-web-828d4e4fb822ec2925c8a625bc5bf326c3425964.zip
feat(workspaces): FLIP reflow eases OUT — fast start, decelerating arrival
The tile-organization animation used power2.inOut (eases INTO the motion too). Switch to power3.out so the sweep starts fast and settles slowly into the destination — the Windows-8-style snap-to-place feel. Verification: svelte-check 0 errors/0 warnings; vitest 1689/1689; build ok.
Diffstat (limited to 'src/features/workspaces')
-rw-r--r--src/features/workspaces/ui/HomeTileGrid.svelte4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/features/workspaces/ui/HomeTileGrid.svelte b/src/features/workspaces/ui/HomeTileGrid.svelte
index f50d902..1ec31e5 100644
--- a/src/features/workspaces/ui/HomeTileGrid.svelte
+++ b/src/features/workspaces/ui/HomeTileGrid.svelte
@@ -286,7 +286,9 @@
if (!state) return;
Flip.from(state, {
duration: 0.25,
- ease: "power2.inOut",
+ // Fast start, decelerating arrival — the reflow sweeps out and settles
+ // into the destination (an inOut curve would ease INTO the motion too).
+ ease: "power3.out",
nested: true,
onEnter: (elements) => gsap.fromTo(elements, { opacity: 0 }, { opacity: 1, duration: 0.2 }),
});