diff --git a/apps/hworldclock/ChangeLog b/apps/hworldclock/ChangeLog index 7b97ce527..22be10e2d 100644 --- a/apps/hworldclock/ChangeLog +++ b/apps/hworldclock/ChangeLog @@ -10,3 +10,4 @@ 0.24: Added fast load 0.25: Minor code optimization 0.26: BJS2: Swipe down to rotate 180 degree +0.27: BJS2: Changed swipe down to swipe up diff --git a/apps/hworldclock/README.md b/apps/hworldclock/README.md index 5a1bcc7f0..905e9987b 100644 --- a/apps/hworldclock/README.md +++ b/apps/hworldclock/README.md @@ -14,7 +14,7 @@ Provide names and the UTC offsets for up to three other timezones in the app sto The clock does not handle summer time / daylight saving time changes automatically. If one of your three locations changes its UTC offset, you can simply change the setting in the app store and update. Currently the clock only supports 24 hour time format for the additional time zones. -BangleJS2: Swipe down to rotate screen. So you can show the time to a friend real quick. +BangleJS2: Swipe up to rotate screen. So you can show the time to a friend real quick. ## Requests diff --git a/apps/hworldclock/app.js b/apps/hworldclock/app.js index fd9b9270f..e5f782244 100644 --- a/apps/hworldclock/app.js +++ b/apps/hworldclock/app.js @@ -338,13 +338,13 @@ if (BANGLEJS2) { } } else if (Math.abs(dy)>Math.abs(dx)+10) { // vertical - if (dx < dy) { - g.clear().setRotation(2); + if (dx < dy) { //down + g.clear().setRotation(0); draw(); Bangle.loadWidgets(); Bangle.drawWidgets(); } else { - g.clear().setRotation(0); + g.clear().setRotation(2); draw(); Bangle.loadWidgets(); Bangle.drawWidgets(); diff --git a/apps/hworldclock/metadata.json b/apps/hworldclock/metadata.json index 7dba8f752..97a7963a5 100644 --- a/apps/hworldclock/metadata.json +++ b/apps/hworldclock/metadata.json @@ -2,7 +2,7 @@ "id": "hworldclock", "name": "Hanks World Clock", "shortName": "Hanks World Clock", - "version": "0.26", + "version": "0.27", "description": "Current time zone plus up to three others", "allow_emulator":true, "icon": "app.png",