Skip to content

Commit

Permalink
wait for stash
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetrax-10 authored Feb 17, 2024
1 parent 8e63734 commit d053fa6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/VideoScrollWheel/videoScrollWheel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
(function () {
(async () => {
while (!window.stash) {
await new Promise((resolve) => setTimeout(resolve, 100));
}

const volumeScrollScale = -0.00065;
const timeScrollScale = 0.01;
const timeScrollFriction = 0.00015;
Expand Down

0 comments on commit d053fa6

Please sign in to comment.