forked from FOSS/BangleApps
Update widclkbttm.wid.js
parent
680587831e
commit
d2a8756d63
|
@ -3,7 +3,7 @@ WIDGETS["wdclkbttm"]={area:"br",width:Bangle.CLOCK?0:60,draw:function() {
|
|||
if (Bangle.CLOCK){
|
||||
console.log("clock and return");
|
||||
return;
|
||||
};
|
||||
}
|
||||
if (!Bangle.CLOCK == !this.width) { // if we're the wrong size for if we have a clock or not...
|
||||
this.width = Bangle.CLOCK?0:60;
|
||||
return setTimeout(Bangle.drawWidgets,1); // widget changed size - redraw
|
||||
|
|
Loading…
Reference in New Issue