Browse Source

try to manipulate slider step

andre 4 years ago
parent
commit
0e2f3fcc73
1 changed files with 2 additions and 2 deletions
  1. 2 2
      templates/client/default/assets/js/layers-ui.js

+ 2 - 2
templates/client/default/assets/js/layers-ui.js

@@ -7306,7 +7306,7 @@ var rangeSlider = function () {
                 value: this.value,
                 value: this.value,
                 min: this.config.min,
                 min: this.config.min,
                 max: this.config.max,
                 max: this.config.max,
-                step: 512,
+                step: this.config.step,
                 slide: function slide(event, ui) {
                 slide: function slide(event, ui) {
                     that.updateInput(ui.value);
                     that.updateInput(ui.value);
                 }
                 }
@@ -15747,7 +15747,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
 			min: 0,
 			min: 0,
 			orientation: "horizontal",
 			orientation: "horizontal",
 			range: false,
 			range: false,
-			step: 1,
+			step: 512,
 			value: 0,
 			value: 0,
 			values: null,
 			values: null,