Moved state icon into middle of lower screen.

pull/1141/head
David Peer 2021-12-28 14:21:21 +01:00
parent e75960ab11
commit 6fab0c8c87
2 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ function drawState(){
hours % 4 == 1 ? iconMars : hours % 4 == 1 ? iconMars :
hours % 4 == 2 ? iconMoon : hours % 4 == 2 ? iconMoon :
iconEarth; iconEarth;
g.drawImage(iconImg, 118, 107); g.drawImage(iconImg, 115, 107);
// Alarm within symbol // Alarm within symbol
g.setFontAlign(-1, -1, 0); g.setFontAlign(-1, -1, 0);
@ -205,7 +205,7 @@ function drawState(){
if(isAlarmEnabled() > 0){ if(isAlarmEnabled() > 0){
g.setFontAlign(0, 0, 0); g.setFontAlign(0, 0, 0);
g.setColor(cWhite); g.setColor(cWhite);
g.drawString(getAlarmMinutes(), 118+25, 107+25+1); g.drawString(getAlarmMinutes(), 115+25, 107+25+1);
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB