File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,25 +111,25 @@ export default class AnimatedMapRegion extends AnimatedWithChildren {
111111 spring ( config ) {
112112 var animations = [ ] ;
113113 config . hasOwnProperty ( 'latitude' ) &&
114- animations . push ( Animated . timing ( this . latitude , {
114+ animations . push ( Animated . spring ( this . latitude , {
115115 ...config ,
116116 toValue : config . latitude
117117 } ) ) ;
118118
119119 config . hasOwnProperty ( 'longitude' ) &&
120- animations . push ( Animated . timing ( this . longitude , {
120+ animations . push ( Animated . spring ( this . longitude , {
121121 ...config ,
122122 toValue : config . longitude
123123 } ) ) ;
124124
125125 config . hasOwnProperty ( 'latitudeDelta' ) &&
126- animations . push ( Animated . timing ( this . latitudeDelta , {
126+ animations . push ( Animated . spring ( this . latitudeDelta , {
127127 ...config ,
128128 toValue : config . latitudeDelta
129129 } ) ) ;
130130
131131 config . hasOwnProperty ( 'longitudeDelta' ) &&
132- animations . push ( Animated . timing ( this . longitudeDelta , {
132+ animations . push ( Animated . spring ( this . longitudeDelta , {
133133 ...config ,
134134 toValue : config . longitudeDelta
135135 } ) ) ;
You can’t perform that action at this time.
0 commit comments