Skip to content

Commit

Permalink
auto canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
virajchandra51 committed Sep 16, 2023
1 parent 748520a commit 5479467
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/home/sections/section1/Section1.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ const Section1 = () => {
animate();
var isMouseDown = false;

setInterval(function () {isMouseDown =! isMouseDown;}, 5000);

window.addEventListener("mousedown", function () {
isMouseDown = true;
});
Expand Down

0 comments on commit 5479467

Please sign in to comment.