1
0
Fork 0

Bug fix to reset_clock

master
adrian w kirk 2021-02-04 01:39:43 +00:00
parent 3d7ddfca15
commit 788642404b
2 changed files with 5 additions and 4 deletions

View File

@ -216,7 +216,7 @@
{ "id": "xclock", { "id": "xclock",
"name": "X Clock", "name": "X Clock",
"icon": "xclock.png", "icon": "xclock.png",
"version":"0.03", "version":"0.04",
"description": "Text Readable Time", "description": "Text Readable Time",
"tags": "clock", "tags": "clock",
"type":"clock", "type":"clock",

View File

@ -176,9 +176,10 @@ let date_formatter = new EnglishDateFormatter();
function reset_clock(){ function reset_clock(){
console.log("reset_clock"); console.log("reset_clock");
this.hour_shift_txt.reset(); var i;
this.min_shift_txt.reset(); for (i = 0; i < row_displays.length; i++) {
this.min_remainder_shift_txt.reset(); row_displays[i].reset();
}
} }
function draw_clock(){ function draw_clock(){