diff --git a/wled00/data/index.js b/wled00/data/index.js index 4a71cf9d..15f6df5d 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -1334,10 +1334,13 @@ function lock(e) { function move(e) { if(!locked || pcMode) return; - var dx = unify(e).clientX - x0, s = Math.sign(dx), - f = +(s*dx/w).toFixed(2); + var clientX = unify(e).clientX; + var dx = clientX - x0; + var s = Math.sign(dx); + var f = +(s*dx/w).toFixed(2); - if((iSlide > 0 || s < 0) && (iSlide < N - 1 || s > 0) && + if((clientX != 0) && + (iSlide > 0 || s < 0) && (iSlide < N - 1 || s > 0) && f > 0.12 && d.getElementsByClassName("tabcontent")[iSlide].scrollTop == scrollS) { _C.style.setProperty('--i', iSlide -= s); diff --git a/wled00/html_settings.h b/wled00/html_settings.h index d6d72cb1..318205bc 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -364,10 +364,10 @@ HTTP traffic is unencrypted. An attacker in the same network can intercept form
Enable ArduinoOTA:

About

WLED version 0.11.1

Contributors, dependencies and special thanks
A huge thank you to everyone who helped me create WLED!

-(c) 2016-2020 Christian Schwinne
Licensed under the Licensed under the MIT license

Server message: Response error!