mirror of https://github.com/espruino/BangleApps
Don't update animation when screen is locked
parent
8d1d4896c8
commit
04c08de89a
|
@ -599,7 +599,7 @@ function drawNode(index) {
|
|||
}
|
||||
|
||||
function tick(widgets) {
|
||||
if (lcdBuffer) {
|
||||
if (lcdBuffer && !widgets) {
|
||||
BLACK().drawRect(-1, -1, 0, 177); // dirty all the rows
|
||||
gfx.clear();
|
||||
gfx.stars();
|
||||
|
|
Loading…
Reference in New Issue