File tree 1 file changed +4
-4
lines changed
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 {
111
111
spring ( config ) {
112
112
var animations = [ ] ;
113
113
config . hasOwnProperty ( 'latitude' ) &&
114
- animations . push ( Animated . timing ( this . latitude , {
114
+ animations . push ( Animated . spring ( this . latitude , {
115
115
...config ,
116
116
toValue : config . latitude
117
117
} ) ) ;
118
118
119
119
config . hasOwnProperty ( 'longitude' ) &&
120
- animations . push ( Animated . timing ( this . longitude , {
120
+ animations . push ( Animated . spring ( this . longitude , {
121
121
...config ,
122
122
toValue : config . longitude
123
123
} ) ) ;
124
124
125
125
config . hasOwnProperty ( 'latitudeDelta' ) &&
126
- animations . push ( Animated . timing ( this . latitudeDelta , {
126
+ animations . push ( Animated . spring ( this . latitudeDelta , {
127
127
...config ,
128
128
toValue : config . latitudeDelta
129
129
} ) ) ;
130
130
131
131
config . hasOwnProperty ( 'longitudeDelta' ) &&
132
- animations . push ( Animated . timing ( this . longitudeDelta , {
132
+ animations . push ( Animated . spring ( this . longitudeDelta , {
133
133
...config ,
134
134
toValue : config . longitudeDelta
135
135
} ) ) ;
You can’t perform that action at this time.
0 commit comments