performance improvements + ui/ux fixes

This commit is contained in:
Boof2015
2026-07-25 19:42:42 -04:00
parent aaadff107c
commit 6dd82420c8
22 changed files with 1269 additions and 953 deletions
+4 -4
View File
@@ -1,10 +1,11 @@
/**
* Bottom tabs use React Native's legacy native Animated driver. On Android,
* timing animations are pre-sampled at 60 fps, so their positions repeat on a
* 120 Hz display. A critically damped native spring is evaluated from each
* display frame instead while preserving the current ~160 ms ease-out feel.
* timing animations are pre-sampled at 60 fps. A short, critically damped
* native spring avoids translating two retained full-page scenes and leaves
* only an intentional cross-fade at the tab boundary.
*/
export const TAB_TRANSITION_SETTLE_MS = 160;
export const TAB_SCENE_ANIMATION = 'fade' as const;
export const TAB_TRANSITION_SPEC = {
animation: 'spring',
@@ -17,4 +18,3 @@ export const TAB_TRANSITION_SPEC = {
restSpeedThreshold: 0.15,
},
} as const;