Merge pull request #186 from kphungry/master

Fix Animation bug.
This commit is contained in:
Dylan Vann 2018-04-25 02:19:04 -04:00 committed by GitHub
commit 30c2d966e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -63,9 +63,9 @@ class FastImage extends Component {
const resolvedSource = resolveAssetSource(source) const resolvedSource = resolveAssetSource(source)
return ( return (
<View style={[style, styles.imageContainer]}> <View style={[style, styles.imageContainer]}
ref={e => (this._root = e)}>
<FastImageView <FastImageView
ref={e => (this._root = e)}
{...props} {...props}
style={StyleSheet.absoluteFill} style={StyleSheet.absoluteFill}
source={resolvedSource} source={resolvedSource}