clkinfo stopw: drop interval to 1s

pull/2695/head
Rob Pilling 2023-04-16 21:05:04 +01:00
parent ac219f241f
commit 2443000117
1 changed files with 1 additions and 1 deletions

View File

@ -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);