From b6d425f4ad962cc069d0894d0d98d1e1ce0b219a Mon Sep 17 00:00:00 2001 From: Hilmar Strauch <56518493+HilmarSt@users.noreply.github.com> Date: Wed, 26 Jan 2022 14:42:48 +0100 Subject: [PATCH] Update widget.js --- apps/widram/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/widram/widget.js b/apps/widram/widget.js index f5e936510..210c85357 100644 --- a/apps/widram/widget.js +++ b/apps/widram/widget.js @@ -8,7 +8,7 @@ if (!BANGLEJS2) g.setColor(percent>70 ? "#ff0000" : (percent>50 ? "#ffff00" : "#ffffff")); else - g.setColor(percent>70 ? "#0f0" : (percent>50 ? "#00f" : "#f00")); + g.setColor(percent>70 ? "#f00" : (percent>50 ? "#00f" : "#0f0")); g.setFont("6x8").setFontAlign(0,0).drawString(percent+"%", this.x+12, this.y+20, true/*solid*/); } var ramInterval;