react3dtagcloud
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -93,15 +93,20 @@ "use strict"; | ||
if (this.state.tags.length === 0) { | ||
if (this.props.tagName.length === 0) { | ||
return; | ||
} | ||
requestAnimationFrame(function () { | ||
console.log(22); | ||
var animation = function animation() { | ||
_this3.rotateX(); | ||
_this3.rotateY(); | ||
requestAnimationFrame(animation); | ||
}; | ||
requestAnimationFrame(function () { | ||
animation(); | ||
}); | ||
this.move(this.props.tagName); | ||
this.setState({ | ||
timer: timer | ||
}); | ||
} // handleMouseover(e) { | ||
@@ -108,0 +113,0 @@ // const angleY = 2 * (e.clientX / document.body.getBoundingClientRect().width - 0.5) * speed * BASEANGLE; |
{ | ||
"name": "react3dtagcloud", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "基于 react 的 3d 标签云", | ||
@@ -5,0 +5,0 @@ "repository": "crazylxr/3dtagcloudforeact", |
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
139532
750