diff --git a/src/scripts/graphics.ts b/src/scripts/graphics.ts index fd5c669..9d46f73 100644 --- a/src/scripts/graphics.ts +++ b/src/scripts/graphics.ts @@ -76,10 +76,7 @@ export default class Graphics { #createBackground() { // Setup scrolling window.addEventListener("scroll", () => { - const url = window.location.href; - if (url.substring(url.length - 17) === "honors-portfolio/") { - this.#camera.position.y = (-window.scrollY / window.innerHeight) * 7.7; - } + this.#camera.position.y = (-window.scrollY / window.innerHeight) * 7.7; }); // Add lights