Compare commits

...

3 Commits

Author SHA1 Message Date
Matt Walsh
763d42061e 5.11.4 2024-05-19 22:39:27 -05:00
Matt Walsh
318c55b92d Fix date/time update rate #45 2024-05-19 22:39:15 -05:00
Matt Walsh
84d39101e5 capture dist 2024-05-08 16:42:00 -05:00
4 changed files with 5 additions and 5 deletions

2
dist/index.html vendored

File diff suppressed because one or more lines are too long

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "ws4kp", "name": "ws4kp",
"version": "5.11.3", "version": "5.11.4",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "ws4kp", "name": "ws4kp",
"version": "5.11.3", "version": "5.11.4",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"del": "^6.0.0", "del": "^6.0.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "ws4kp", "name": "ws4kp",
"version": "5.11.3", "version": "5.11.4",
"description": "Welcome to the WeatherStar 4000+ project page!", "description": "Welcome to the WeatherStar 4000+ project page!",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@@ -169,7 +169,7 @@ class WeatherDisplay {
// auto clock refresh // auto clock refresh
if (!this.dateTimeInterval) { if (!this.dateTimeInterval) {
// only draw if canvas is active to conserve battery // only draw if canvas is active to conserve battery
setInterval(() => this.active && this.drawCurrentDateTime(), 100); this.dateTimeInterval = setInterval(() => this.active && this.drawCurrentDateTime(), 100);
} }
} }
} }