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