Fixed updating logic

master
David Volovskiy 2025-04-20 11:51:17 -04:00
parent 9bd3daf517
commit 9567f8bafa
1 changed files with 1 additions and 2 deletions

View File

@ -153,7 +153,6 @@ let draw = function() {
g.setColor(clrs.tab); g.setColor(clrs.tab);
g.fillRect(90, 0, w, headerHeight); g.fillRect(90, 0, w, headerHeight);
loadJson();
g.setColor(clrs.brackets); g.setColor(clrs.brackets);
g.drawString("clockface.json", 3, 3); g.drawString("clockface.json", 3, 3);
@ -168,7 +167,7 @@ let draw = function() {
numWidth = Math.max(numWidth, g.stringWidth(lineNumberStr)); numWidth = Math.max(numWidth, g.stringWidth(lineNumberStr));
} }
redraw(); redrawValues();
}; };
let redraw = function() { let redraw = function() {