react-native-text-ticker
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -25,4 +25,4 @@ { | ||
"react-native": "0.52.0", | ||
"react-native-text-ticker": "^0.1.0" | ||
"react-native-text-ticker": "0.5.0" | ||
} | ||
} |
@@ -151,3 +151,5 @@ import React, { PureComponent } from 'react' | ||
this.setState({ | ||
contentFits: this.distance <= 0, | ||
// Is 1 instead of 0 to get round rounding errors from: | ||
// https://github.com/facebook/react-native/commit/a534672 | ||
contentFits: this.distance <= 1, | ||
shouldBounce: this.distance < this.containerWidth / 8 | ||
@@ -154,0 +156,0 @@ }) |
{ | ||
"name": "react-native-text-ticker", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "React Native Text Ticker/Marquee Component", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,2 +17,4 @@ # react-native-text-ticker | ||
This package aims to only support the latest version of React-Native. | ||
## Installation | ||
@@ -19,0 +21,0 @@ ``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1784764
26
337
86