1
0
Fork 0

Update widclkbttm.wid.js

master
dapgo 2023-01-05 23:04:15 +01:00
parent 680587831e
commit d2a8756d63
1 changed files with 1 additions and 1 deletions

View File

@ -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