Skip to content

Commit

Permalink
Update new version
Browse files Browse the repository at this point in the history
  • Loading branch information
lindelof committed Apr 1, 2021
1 parent 543ece6 commit f4a39ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ yarn-error.log*
package-lock.json

dist
yarn.lock
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-mouse-particles",
"version": "1.1.3",
"version": "1.1.5",
"description": "A mouse particle effect react component",
"author": "lindelof",
"license": "MIT",
Expand Down Expand Up @@ -53,7 +53,9 @@
"dist"
],
"dependencies": {
"power-mode-input": "^1.0.3",
"proton-engine": "^4.1.3",
"raf-manager": "^0.3.0"
"raf-manager": "^0.3.0",
"react-mouse-particles": "1.1.3"
}
}
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MouseParticles extends React.Component {
this.dom.style.top = "0px";
this.dom.style.zIndex = 9999;
this.dom.style.pointerEvents = "none";
this.dom.id = `rmps_${(Math.random() * 999999) >> 0}`;
this.dom.id = `mouse_ps_${(Math.random() * 999999) >> 0}`;
document.body.appendChild(this.dom);
}

Expand Down

0 comments on commit f4a39ff

Please sign in to comment.