bugfixing
This commit is contained in:
parent
007ed34ed7
commit
eccaa98d9a
@ -31,7 +31,7 @@ class SwitchBox extends UI {
|
||||
}
|
||||
setValue(val) {
|
||||
if (this._value !== val) {
|
||||
this._value = value;
|
||||
this._value = val;
|
||||
if (this._value) {
|
||||
this._input.style.backgroundColor = "#00b6ff";
|
||||
this._movable.style.right = 0 + "px";
|
||||
|
Loading…
Reference in New Issue
Block a user