Minor changes
parent
856ca654fa
commit
2165941e1b
|
|
@ -155,7 +155,8 @@ let clockInfoMenu = clock_info.addInteractive(clockInfoItems, {
|
||||||
// Set text and font
|
// Set text and font
|
||||||
if(isLarge){
|
if(isLarge){
|
||||||
// In case we are in focus and the focus box changes (fullscreen yes/no)
|
// In case we are in focus and the focus box changes (fullscreen yes/no)
|
||||||
// we draw the time again.
|
// we draw the time again. Otherwise it could happen that a while line is
|
||||||
|
// not cleared correctly.
|
||||||
if(options.focus) drawTime();
|
if(options.focus) drawTime();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -181,7 +182,8 @@ let clockInfoMenu = clock_info.addInteractive(clockInfoItems, {
|
||||||
g.drawString(text, midx+parseInt(imgWidth*1.3/2), options.y+20);
|
g.drawString(text, midx+parseInt(imgWidth*1.3/2), options.y+20);
|
||||||
|
|
||||||
// In case we are in focus and the focus box changes (fullscreen yes/no)
|
// In case we are in focus and the focus box changes (fullscreen yes/no)
|
||||||
// we draw the time again.
|
// we draw the time again. Otherwise it could happen that a while line is
|
||||||
|
// not cleared correctly.
|
||||||
if(options.focus) drawTime();
|
if(options.focus) drawTime();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue