Update app.js

pull/3483/head
Chriz76 2024-06-30 22:07:53 +02:00 committed by GitHub
parent 8a77119c87
commit 7f616e01d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -87,8 +87,9 @@ function drawNumber(number, x, y, palette, options) {
function draw() {
let d = new Date();
g.clearRect(0, settings.showWidgets ? 24 : 0, g.getWidth(),g.getHeight());
drawBottom(0, 5);
drawTop(0, 5);
drawBottom(Math.floor(d.getMinutes()/10), d.getMinutes() % 10);
drawTop(Math.floor(d.getHours()/10), d.getHours() % 10);
queueDraw();
}