diff --git a/apps/modclock/app.js b/apps/modclock/app.js index 7fbe7b7e2..d1154d1c1 100644 --- a/apps/modclock/app.js +++ b/apps/modclock/app.js @@ -165,7 +165,7 @@ let draw = function() { } - + // draw the date, in a normal font g.setFont("Vector",18); g.setFontAlign(0,0); // align center bottom @@ -173,7 +173,7 @@ let draw = function() { var dateStr = require("locale").dow(new Date(), 1)+", "+ require("locale").month(new Date(), true)+" "+new Date().getDate(); g.drawString(" "+dateStr+" ", g.getWidth()/2, Y+9, true /*clear background*/); - + Bangle.drawWidgets(); // queue next draw if (drawTimeout) clearTimeout(drawTimeout); @@ -203,5 +203,4 @@ g.clear(); // Load widgets Bangle.loadWidgets(); draw(); -setTimeout(Bangle.drawWidgets,0); }