mirror of https://github.com/espruino/BangleApps
parent
14e221fbb1
commit
d93ef10f26
|
@ -75,9 +75,9 @@ class Options {
|
||||||
Object.defineProperty(this, k, {
|
Object.defineProperty(this, k, {
|
||||||
get: () => this.backing[k],
|
get: () => this.backing[k],
|
||||||
set: v => {
|
set: v => {
|
||||||
|
this.backing[k] = v;
|
||||||
// Ten second writeback delay, since the user will roll values up and down.
|
// Ten second writeback delay, since the user will roll values up and down.
|
||||||
this.writeBack(10000);
|
this.writeBack(10000);
|
||||||
return this.backing[k] = v;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue