Browse Source

Decrease snapping

pull/1/head
Czarlie 8 months ago
parent
commit
bce9f9965f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      en/index.html

+ 1
- 1
en/index.html View File

@@ -24,7 +24,7 @@

<script type="text/javascript">
const AFTER_SCROLL_TIMEOUT = 100;
const PAGE_SNAP_LENGTH = 0.4; // How many pages (0--5) to scroll when snapping
const PAGE_SNAP_LENGTH = 0.25; // How many pages (0--5) to scroll when snapping

var lastScroll = 0;
var lastScrollTime = 0;


Loading…
Cancel
Save