|
|
@ -467,8 +467,8 @@ class ConfigurationSystem { |
|
|
|
if (value * 0.1 < min) { |
|
|
|
range.min = value / 10; |
|
|
|
} |
|
|
|
if (value * 10 > max && max !== 1) { |
|
|
|
range.max = value * 10; |
|
|
|
if (value * 2 > max && max !== 1) { |
|
|
|
range.max = value * 2; |
|
|
|
} |
|
|
|
range.value = value; |
|
|
|
} |
|
|
@ -505,7 +505,7 @@ class ConfigurationSystem { |
|
|
|
} |
|
|
|
|
|
|
|
let me = this; |
|
|
|
checkbox.onchange = function() {me._update(this.value, path)}; |
|
|
|
checkbox.onchange = function() {me._update(this.checked, path)}; |
|
|
|
|
|
|
|
let label = this._makeLabel(path[path.length-1], path); |
|
|
|
this._makeEntree(path, label, checkbox); |
|
|
@ -653,6 +653,7 @@ class ConfigurationSystem { |
|
|
|
pointer[path[i]] = value; |
|
|
|
} |
|
|
|
} |
|
|
|
console.log(JSON.stringify(options)) |
|
|
|
this.network.setOptions(options); |
|
|
|
} |
|
|
|
} |
|
|
|