diff --git a/apps/edgeclk/app.js b/apps/edgeclk/app.js index 45dd0c4c2..4bb1f4700 100644 --- a/apps/edgeclk/app.js +++ b/apps/edgeclk/app.js @@ -70,8 +70,11 @@ temp = temp < 0 ? '\\' + String(temp*-1) : String(temp); g.drawString(temp, g.getWidth()-40, g.getHeight() - 1, true); + + // clear icon area in case weather condition changed + g.clearRect(g.getWidth()-40, g.getHeight()-30, g.getWidth(), g.getHeight()); + weather.drawIcon(w, g.getWidth()-20, g.getHeight()-15, 13); - weather.drawIcon(w, g.getWidth()-20, g.getHeight()-15, 15); } catch(e) { g.drawString("ERR", g.getWidth()-3, g.getHeight() - 1, true); }