Sfoglia il codice sorgente

slow motion opening front cover

master
farhan 5 mesi fa
parent
commit
4b89777c92
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      resources/views/digital-card.blade.php

+ 1
- 1
resources/views/digital-card.blade.php Vedi File

@@ -104,7 +104,7 @@
104 104
                         // Smooth scroll using requestAnimationFrame
105 105
                         function scrollStep() {
106 106
                             if (currentScroll < targetScroll) {
107
-                                window.scrollTo(0, currentScroll += 5); // Adjust speed here (e.g., +=5)
107
+                                window.scrollTo(0, currentScroll += 1); // Adjust speed here (e.g., +=5)
108 108
                                 requestAnimationFrame(scrollStep);
109 109
                             }
110 110
                         }

Loading…
Annulla
Salva