浏览代码

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
                         }

正在加载...
取消
保存