From 63371ba51e0140a0151b3f62c66a0620a9cd8333 Mon Sep 17 00:00:00 2001 From: dapgo Date: Mon, 9 Jan 2023 15:56:28 +0100 Subject: [PATCH] remove not need lines --- apps/widclkbttm/widclkbttm.wid.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/widclkbttm/widclkbttm.wid.js b/apps/widclkbttm/widclkbttm.wid.js index 3b523b58d..79260e0d4 100644 --- a/apps/widclkbttm/widclkbttm.wid.js +++ b/apps/widclkbttm/widclkbttm.wid.js @@ -1,12 +1,11 @@ WIDGETS["wdclkbttm"]={area:"br",width:60,draw:function() { - console.log("clock? "+Bangle.CLOCK); if (Bangle.CLOCK){ return; //avoid 2 clocks } - 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; + /* if (!Bangle.CLOCK && this.width==0) { + this.width = 60; return setTimeout(Bangle.drawWidgets,1); // widget changed size - redraw - } + }*/ if (!this.width) return; // if size not right, return g.reset().setFont("6x8", 2).setFontAlign(-1, 0); var time = require("locale").time(new Date(),1);