react-gear-chart
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -222,3 +222,3 @@ 'use strict'; | ||
offsetAngle: _this2.totalAnagle() * (clockwiseAnimate ? -1 : 1), | ||
opacity: 0 | ||
opacity: 1 | ||
} | ||
@@ -233,3 +233,3 @@ }; | ||
offsetAngle: (0, _reactMotion.spring)(0, motionConfig), | ||
opacity: (0, _reactMotion.spring)(1) | ||
opacity: 1 | ||
} | ||
@@ -246,4 +246,5 @@ }; | ||
// before item's leave it stays in interpolated array, "i % items.length" to get correct position | ||
i = i % items.length; | ||
var _GearListChart$getToo = GearListChart.getToothParam(i % items.length, _perItemAngle, margin, _startAngle, clockwise), | ||
var _GearListChart$getToo = GearListChart.getToothParam(i, _perItemAngle, margin, _startAngle, clockwise), | ||
_GearListChart$getToo2 = (0, _slicedToArray3.default)(_GearListChart$getToo, 2), | ||
@@ -250,0 +251,0 @@ start = _GearListChart$getToo2[0], |
{ | ||
"name": "react-gear-chart", | ||
"description": "", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"author": "nooooru@gmail.com", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -150,3 +150,3 @@ // @flow | ||
offsetAngle: this.totalAnagle() * (clockwiseAnimate ? -1 : 1), | ||
opacity: 0 | ||
opacity: 1 | ||
} | ||
@@ -159,3 +159,3 @@ }))} | ||
offsetAngle: spring(0, motionConfig), | ||
opacity: spring(1) | ||
opacity: 1 | ||
} | ||
@@ -169,3 +169,4 @@ }))} | ||
// before item's leave it stays in interpolated array, "i % items.length" to get correct position | ||
let [ start, end ] = GearListChart.getToothParam(i % items.length, _perItemAngle , margin, _startAngle, clockwise) | ||
i = i % items.length | ||
let [ start, end ] = GearListChart.getToothParam(i, _perItemAngle , margin, _startAngle, clockwise) | ||
return ( | ||
@@ -172,0 +173,0 @@ <g key={conf.key || i}> |
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
2292
2660479