clear icon area in case weather condition changed
parent
a335acf17e
commit
188aaa99f7
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue