1
0
Fork 0

Fix widget position increment

master
Gordon Williams 2020-02-13 14:03:42 +00:00
parent a73fbbedf8
commit 604c89cbca
3 changed files with 3 additions and 2 deletions

View File

@ -747,7 +747,7 @@
{ "id": "wpedom",
"name": "Pedometer widget",
"icon": "pedometer_widget.png",
"version":"0.05",
"version":"0.06",
"description": "Daily pedometer widget",
"tags": "widget",
"type":"widget",

View File

@ -2,3 +2,4 @@
0.03: Don't turn the screen on for every step!
0.04: Fix pedometer reload when going back to clock app
0.05: Add foot icon, use tidier font, and move to the left of the screen
0.06: Fix widget position increment

View File

@ -4,7 +4,7 @@
// WIDGETPOS.tr is originally 208 without any widgets
var xpos = WIDGETPOS.tl;
var width = 24;
WIDGETPOS.tl -= (width + 2);
WIDGETPOS.tl += (width + 2);
let lastUpdate = new Date();
let stp_today = 0;