Skip to content

Commit

Permalink
season log volume
Browse files Browse the repository at this point in the history
  • Loading branch information
eyaler committed Mar 18, 2024
1 parent a46d86d commit 20ac72c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resen/seasons/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</p>
<script>
make_footer()
document.addEventListener('scroll', () => audio.volume = 1 - (scrollY|0)/(document.body.scrollHeight-innerHeight))
document.addEventListener('scroll', () => audio.volume = (10**(1 - (scrollY|0)/(document.body.scrollHeight-innerHeight))-1)/9)
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion resen/seasons/media/tile.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 20ac72c

Please sign in to comment.