1
0
Fork 0

Merge pull request #1905 from nxdefiant/miclock2

miclock2: Fix typo in redraw check
master
Gordon Williams 2022-06-06 11:58:40 +01:00 committed by GitHub
commit 384d3413fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -1,2 +1,3 @@
0.01: New App!
0.02: Redraw only when seconds change
0.03: Fix typo in redraw check

View File

@ -48,7 +48,7 @@ function setLineWidth(x1, y1, x2, y2, lw) {
function drawMixedClock(force) {
var date = new Date();
if ((force || Bangle.isLCDOn()) && buf.buffer && date.getSeconds() === lastDate.getSeconds()) {
if ((force || Bangle.isLCDOn()) && buf.buffer && date.getSeconds() !== lastDate.getSeconds()) {
lastDate = date;
var dateArray = date.toString().split(" ");
var isEn = locale.name.startsWith("en");

View File

@ -1,7 +1,7 @@
{
"id": "miclock2",
"name": "Mixed Clock 2",
"version": "0.02",
"version": "0.03",
"description": "White color variant of the Mixed Clock with thicker clock hands for better readability in the bright sunlight, extra space under the clock for widgets and seconds in the digital clock.",
"icon": "clock-mixed.png",
"type": "clock",