ascoders / react-native-image-zoom

react native image pan and zoom
MIT License
639 stars 282 forks source link

Default to (and thus allow) a zero second centerOn duration #147

Open ptomooka opened 4 years ago

ptomooka commented 4 years ago

Currently, duration = params.duration || 300 excludes the possibility of an instantaneous centerOn, which is sometimes desirable. This now adds instantaneous functionality, and sets this as the default.