Skip to content

Commit

Permalink
Merge pull request #2968 from matijatosic/hwid
Browse files Browse the repository at this point in the history
Fix hwid_a_battery_widget background color
  • Loading branch information
gfwilliams authored Aug 14, 2023
2 parents 33abbe0 + c380bda commit 4d4d9aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/hwid_a_battery_widget/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
0.07: Fixed position after unlocking
0.08: Handling exceptions
0.09: Add option for showing battery high mark
0.10: Fix background color
2 changes: 1 addition & 1 deletion apps/hwid_a_battery_widget/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "A Battery Widget (with percentage) - Hanks Mod",
"shortName":"H Battery Widget",
"icon": "widget.png",
"version":"0.09",
"version":"0.10",
"type": "widget",
"supports": ["BANGLEJS", "BANGLEJS2"],
"readme": "README.md",
Expand Down
1 change: 1 addition & 0 deletions apps/hwid_a_battery_widget/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
var y = this.y;
if ((typeof x === 'undefined') || (typeof y === 'undefined')) {
} else {
g.setBgColor(COLORS.white);
g.clearRect(old_x, old_y, old_x + width, old_y + height);

const l = E.getBattery(); // debug: Math.floor(Math.random() * 101);
Expand Down

0 comments on commit 4d4d9aa

Please sign in to comment.