From 01cf0fb202cc0b87fdef023fe6c6c73c84817452 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Mon, 9 Oct 2023 18:17:35 +0200 Subject: [PATCH] Slider: disregard laziness on max/min levels --- modules/Slider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Slider.js b/modules/Slider.js index 69b3ef033..bf15594ed 100644 --- a/modules/Slider.js +++ b/modules/Slider.js @@ -129,7 +129,7 @@ try { // For making it possiblie to run the test app in the following catch stat cbObj = {mode:"incr", value:incr}; } } - if (o.v.level != o.v.prevLevel) { + if (o.v.level!==o.v.prevLevel || o.v.level===0 || o.v.level===o.c.steps) { o.f.draw&&o.f.draw(o.v.level); cb(cbObj.mode, cbObj.value); }