diff --git a/src/screens/PlayDetail/Horizontal/Lyric.tsx b/src/screens/PlayDetail/Horizontal/Lyric.tsx index c13fcb1..fe0cff9 100644 --- a/src/screens/PlayDetail/Horizontal/Lyric.tsx +++ b/src/screens/PlayDetail/Horizontal/Lyric.tsx @@ -161,7 +161,7 @@ export default () => { delayScrollTimeout.current = setTimeout(() => { delayScrollTimeout.current = null handleScrollToActive() - }, 300) + }, 600) }, [line]) const handleScrollToIndexFailed: FlatListType['onScrollToIndexFailed'] = (info) => { diff --git a/src/screens/PlayDetail/Vertical/Lyric.tsx b/src/screens/PlayDetail/Vertical/Lyric.tsx index 29f57f6..8a24ac4 100644 --- a/src/screens/PlayDetail/Vertical/Lyric.tsx +++ b/src/screens/PlayDetail/Vertical/Lyric.tsx @@ -200,7 +200,7 @@ export default () => { delayScrollTimeout.current = setTimeout(() => { delayScrollTimeout.current = null handleScrollToActive() - }, 300) + }, 600) }, [line]) const handleScrollToIndexFailed: FlatListType['onScrollToIndexFailed'] = (info) => { diff --git a/src/utils/hooks/useAnimateColor.ts b/src/utils/hooks/useAnimateColor.ts index de4a5af..9cc1854 100644 --- a/src/utils/hooks/useAnimateColor.ts +++ b/src/utils/hooks/useAnimateColor.ts @@ -2,7 +2,7 @@ import { useEffect, useMemo, useRef, useState } from 'react' import { Animated } from 'react-native' -const ANIMATION_DURATION = 200 +const ANIMATION_DURATION = 800 export const useAnimateColor = (color: string) => { const anim = useMemo(() => new Animated.Value(0), [color])