diff --git a/apps/keytimer/ChangeLog b/apps/keytimer/ChangeLog index 1c3954fc7..789ab85a8 100644 --- a/apps/keytimer/ChangeLog +++ b/apps/keytimer/ChangeLog @@ -1,3 +1,4 @@ 0.01: New app! 0.02: Submitted to the app loader -0.03: Rewrote to use scheduler library \ No newline at end of file +0.03: Rewrote to use scheduler library +0.04: Use correct background color for number display diff --git a/apps/keytimer/keypad.js b/apps/keytimer/keypad.js index 5844c9a63..6b34d19f2 100644 --- a/apps/keytimer/keypad.js +++ b/apps/keytimer/keypad.js @@ -95,7 +95,8 @@ function getFontSize(length) { function updateDisplay() { let displayString = inputStringToDisplayString(common.state.inputString); - g.clearRect(0, 24, 175, 43).setColor(storage.readJSON('setting.json').theme.fg2).setFontAlign(1, -1).setFont("Vector", getFontSize(displayString.length)).drawString(displayString, 176, 24); + let t = storage.readJSON('setting.json').theme; + g.setBgColor(t.bg2).clearRect(0, 24, 175, 43).setColor(t.fg2).setFontAlign(1, -1).setFont("Vector", getFontSize(displayString.length)).drawString(displayString, 176, 24); } exports.show = function (callerCommon) { diff --git a/apps/keytimer/metadata.json b/apps/keytimer/metadata.json index e0e46f92f..43edf9957 100644 --- a/apps/keytimer/metadata.json +++ b/apps/keytimer/metadata.json @@ -1,7 +1,7 @@ { "id": "keytimer", "name": "Keypad Timer", - "version": "0.03", + "version": "0.04", "description": "A timer with a keypad that runs in the background", "icon": "icon.png", "type": "app",