Add Scroll Effect to Demo

Demo was not actually scrolling because scrollY was not bound.
pull/7462/head
Roga 4 years ago committed by GitHub
parent 3a238fe057
commit add556e648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,7 +4,7 @@
let y;
</script>
<svelte:window/>
<svelte:window bind:scrollY={y}/>
<a class="parallax-container" href="https://www.firewatchgame.com">
{#each layers as layer}

Loading…
Cancel
Save