From add556e64836e90cf19ad009ad1400d5571b02df Mon Sep 17 00:00:00 2001
From: Roga <61405141+rogadev@users.noreply.github.com>
Date: Thu, 14 Apr 2022 16:12:51 -0700
Subject: [PATCH] Add Scroll Effect to Demo
Demo was not actually scrolling because scrollY was not bound.
---
.../05-svelte-window-bindings/app-a/App.svelte | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/site/content/tutorial/16-special-elements/05-svelte-window-bindings/app-a/App.svelte b/site/content/tutorial/16-special-elements/05-svelte-window-bindings/app-a/App.svelte
index ba51140ff4..15c2aa0ebc 100644
--- a/site/content/tutorial/16-special-elements/05-svelte-window-bindings/app-a/App.svelte
+++ b/site/content/tutorial/16-special-elements/05-svelte-window-bindings/app-a/App.svelte
@@ -4,7 +4,7 @@
let y;
-
+
{#each layers as layer}
@@ -85,4 +85,4 @@
padding: 0;
background-color: rgb(253, 174, 51);
}
-
\ No newline at end of file
+