From 16efdc60427eab0653b025605f9b5cc2d8f99c0a Mon Sep 17 00:00:00 2001 From: Eike Ahmels Date: Sat, 27 Feb 2021 22:55:51 +0100 Subject: [PATCH] fixed processing new max on reload --- src/inputs/ToolSlider.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/inputs/ToolSlider.vue b/src/inputs/ToolSlider.vue index c96650f2..c93ad961 100644 --- a/src/inputs/ToolSlider.vue +++ b/src/inputs/ToolSlider.vue @@ -143,7 +143,8 @@ clearTimeout(this.processingTimer); this.processingTimer = null; } - if (this.value === this.processedMax || this.value === this.processedMin) { + console.log(this.value, this.processedMax); + if (this.value >= this.processedMax) { this.processingTimer = setTimeout(() => { this.processedMin = Math.max(0, this.value - this.dynamicStep); this.processedMax = Math.min(1000, this.value + this.dynamicStep);