mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-28 20:35:19 +08:00
fix: tweak the easing for android
Co-Authored-By: Michał Osadnik <micosa97@gmail.com>
This commit is contained in:
committed by
satyajit.happy
parent
c2eb482367
commit
78c4f25c5e
@@ -39,6 +39,6 @@ export const WipeFromBottomAndroidSpec: TransitionSpec = {
|
||||
duration: 425,
|
||||
// This is super rough approximation of the path used for the curve by android
|
||||
// See http://androidxref.com/9.0.0_r3/xref/frameworks/base/core/res/res/interpolator/fast_out_extra_slow_in.xml
|
||||
easing: Easing.bezier(0.35, 0.45, 0, 1),
|
||||
easing: t => Easing.bezier(0.90, 0.06, 0.57, 0)((Easing.bezier(0.06, 0.94, 0.22, 1.02)(t))),
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user