Minor changes

master
David Peer 2023-01-05 21:02:55 +01:00
parent 270539ce39
commit bdefe4217c
1 changed files with 2 additions and 2 deletions

View File

@ -134,9 +134,9 @@ let clockInfoMenu = clock_info.addInteractive(clockInfoItems, {
// Draw // Draw
if (image) { if (image) {
var scale = imgWidth / image.width; var scale = imgWidth / image.width;
g.drawImage(image, midx-14-parseInt(strWidth/2), options.y+6, {scale: scale}); g.drawImage(image, midx-parseInt(imgWidth*1.3/2)-parseInt(strWidth/2), options.y+6, {scale: scale});
} }
g.drawString(text, midx+imgWidth-6, options.y+20); g.drawString(text, midx+parseInt(imgWidth*1.3/2), options.y+20);
} }
}); });