forked from rDrama/rDrama
1
0
Fork 0

make swipe more seamless

master
Aevann 2024-01-14 18:05:08 +02:00
parent 5455ec6a7d
commit 5fefc0f732
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ if (screen_width < 768) {
let dy = unify(e).clientY - y0
let fy = +(dy/y).toFixed(2);
if (!getSelection().toString() && (f > 0.04 || f < -0.04) && (fy < 0.02 && fy > -0.02)) {
if (!getSelection().toString() && (f > 0.04 || f < -0.04) && (fy < 0.04 && fy > -0.04)) {
if (id_before && f > 0.2) {
location.href = id_before.slice(1, -1)
}