diff options
| author | Fuwn <[email protected]> | 2026-05-19 02:41:45 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-05-19 02:41:45 +0000 |
| commit | 8d18d99bcb0de518dd0b60a1f7e022e0cf516efa (patch) | |
| tree | a96a0195a0cc778ba922cf5118cd34b6ad50b51e /src/routes/api/birthdays | |
| parent | feat(nav): direction-aware view transitions, header excluded (diff) | |
| download | due.moe-8d18d99bcb0de518dd0b60a1f7e022e0cf516efa.tar.xz due.moe-8d18d99bcb0de518dd0b60a1f7e022e0cf516efa.zip | |
fix(nav): respect displayDisableAnimations in view transitions
Root.svelte already gated the fly transition on
\$settings.displayDisableAnimations, but the View Transition path
added in 7e2495bd ran unconditionally. The setting appeared broken
because the slide kept firing via the browser API.
Adds the same check to onNavigate via get(settings) (the callback is
not in reactive context, so a synchronous store read is the right
shape). When the setting is on, both transition paths bypass and
navigation snaps as expected.
Diffstat (limited to 'src/routes/api/birthdays')
0 files changed, 0 insertions, 0 deletions