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) {
|
function tick(widgets) {
|
||||||
if (lcdBuffer) {
|
if (lcdBuffer && !widgets) {
|
||||||
BLACK().drawRect(-1, -1, 0, 177); // dirty all the rows
|
BLACK().drawRect(-1, -1, 0, 177); // dirty all the rows
|
||||||
gfx.clear();
|
gfx.clear();
|
||||||
gfx.stars();
|
gfx.stars();
|
||||||
|
|
Loading…
Reference in New Issue