diff options
author | Eric Bailey <git@esb.lol> | 2023-12-17 13:55:47 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-17 11:55:47 -0800 |
commit | 25f0527ad683b7cde6ac57c4bdc74858a9b6c5b1 (patch) | |
tree | e2e7ef5a5a50638b51b27efec53b3bab36468a32 /src | |
parent | aac13aafced384eecafcab9a2b20fbdb47265403 (diff) | |
download | voidsky-25f0527ad683b7cde6ac57c4bdc74858a9b6c5b1.tar.zst |
Tweaks (#2225)
* Gradient * Tweak animation speed * Rotate * Linear * Linear
Diffstat (limited to 'src')
-rw-r--r-- | src/Splash.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Splash.tsx b/src/Splash.tsx index e33fcc3c7..ead8e0f00 100644 --- a/src/Splash.tsx +++ b/src/Splash.tsx @@ -79,7 +79,7 @@ export function Splash(props: React.PropsWithChildren<Props>) { scale: interpolate(outroApp.value, [0, 1], [1.1, 1], 'clamp'), }, ], - opacity: interpolate(outroApp.value, [0, 0.7, 1], [0, 1, 1], 'clamp'), + opacity: interpolate(outroApp.value, [0, 0.9, 1], [0, 1, 1], 'clamp'), } }) @@ -92,21 +92,21 @@ export function Splash(props: React.PropsWithChildren<Props>) { intro.value = withTiming( 1, - {duration: 800, easing: Easing.out(Easing.cubic)}, + {duration: 200, easing: Easing.out(Easing.cubic)}, async () => { // set these values to check animation at specific point // outroLogo.value = 0.1 // outroApp.value = 0.1 outroLogo.value = withTiming( 1, - {duration: 1200, easing: Easing.in(Easing.cubic)}, + {duration: 1000, easing: Easing.in(Easing.cubic)}, () => { runOnJS(onFinish)() }, ) outroApp.value = withTiming( 1, - {duration: 1200, easing: Easing.inOut(Easing.cubic)}, + {duration: 1000, easing: Easing.inOut(Easing.cubic)}, () => { runOnJS(onFinish)() }, |