Restore original stiffness and damping and modify mass instead
This commit is contained in:
committed by
Oleksii Bulenok
parent
49b42d8f23
commit
9b13d0debf
@@ -605,8 +605,9 @@ function LightboxImage({
|
||||
dismissSwipeTranslateY.set(() => {
|
||||
'worklet'
|
||||
return withSpring(0, {
|
||||
stiffness: 2800,
|
||||
damping: 200,
|
||||
stiffness: 700,
|
||||
damping: 50,
|
||||
mass: 1,
|
||||
reduceMotion: ReduceMotion.Never,
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user