fix: Expand left-edge swipe initiation zone from 40px to 200px.

This commit is contained in:
Fabien POLLY
2025-12-09 13:53:59 +01:00
parent 32deb0752e
commit 8c9d2eedeb

View File

@@ -1425,7 +1425,7 @@
const MIN_SWIPE_DISTANCE = 50; // minimal movement to count as a swipe
const MAX_VERTICAL_DRIFT = 80; // tolerance to avoid accidental scroll/swipe mix
const EDGE_ZONE = 40; // swipe must start within 40px from screen left
const EDGE_ZONE = 200; // swipe must start within 200px from screen left
document.addEventListener("touchstart", (e) => {
const t = e.changedTouches[0];