瀏覽代碼

slow motion opening front cover

master
farhan 5 月之前
父節點
當前提交
4b89777c92
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      resources/views/digital-card.blade.php

+ 1
- 1
resources/views/digital-card.blade.php 查看文件

@@ -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…
取消
儲存