animations env

This commit is contained in:
ntr
2019-06-29 14:42:34 +10:00
parent 6651735758
commit 214214e838
10 changed files with 289 additions and 39 deletions
+2 -2
View File
@@ -64,11 +64,11 @@ class SiphonTick extends Component {
componentDidMount() {
if (!this.props.team) {
anime.set('.skill-anim', {
rotate: Math.random() * 180 + 90,
rotate: 90
});
} else {
anime.set('.skill-anim', {
rotate: Math.random() * 180 + 270,
rotate: 270
});
}