Skip to content

Commit

Permalink
feat: slower
Browse files Browse the repository at this point in the history
  • Loading branch information
EliezerIsrael committed May 8, 2024
1 parent 30f084f commit 514d3fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ class TextScroller {
return;
}
this.container.style.left = this.container.style.left || 0;
this.container.style.left = `${parseFloat(this.container.style.left) + 0.2}px`;
this.container.style.left = `${parseFloat(this.container.style.left) + 0.1}px`;
requestAnimationFrame(this.animationEngine);
}


autoScrollLines() {
this.lineScroll = this.lineScroll + 0.2;
this.lineScroll = this.lineScroll + 0.05;
if (this.isDragging) {
return;
}
Expand Down

0 comments on commit 514d3fa

Please sign in to comment.