Skip to content

Commit

Permalink
feat: make scroll signal unclickable
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Haller committed Apr 22, 2020
1 parent 6de4669 commit e526549
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/species/scroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ const getDefaultConfig = (randomizer) => {
scrollSignal.style.transition = 'opacity 1s ease-out';
scrollSignal.style.left = scrollX + 10 + 'px';
scrollSignal.style.top = scrollY + 10 + 'px';
scrollSignal.style['pointer-events'] = 'none';

const element = body.appendChild(scrollSignal);
setTimeout(() => {
body.removeChild(element);
Expand Down

0 comments on commit e526549

Please sign in to comment.