mirror of https://github.com/espruino/BangleApps
clkinfo stopw: drop interval to 1s
parent
ac219f241f
commit
2443000117
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
const queueRedraw = function(this: ClockInfo.MenuItem) {
|
const queueRedraw = function(this: ClockInfo.MenuItem) {
|
||||||
unqueueRedraw();
|
unqueueRedraw();
|
||||||
redrawInterval = setInterval(() => this.emit('redraw'), 100);
|
redrawInterval = setInterval(() => this.emit('redraw'), 1000);
|
||||||
};
|
};
|
||||||
|
|
||||||
const pad2 = (s: number) => ('0' + s.toFixed(0)).slice(-2);
|
const pad2 = (s: number) => ('0' + s.toFixed(0)).slice(-2);
|
||||||
|
|
Loading…
Reference in New Issue