From 8275abdb57ee45597e4d03b6bbc786165b7817c2 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Thu, 12 Mar 2026 12:58:52 -0600 Subject: [PATCH] Swap stop watch positions --- antonclk/antonclk.app.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/antonclk/antonclk.app.js b/antonclk/antonclk.app.js index 0914e06..7757337 100644 --- a/antonclk/antonclk.app.js +++ b/antonclk/antonclk.app.js @@ -49,9 +49,9 @@ } let Ttxt1 = timeToText(Tt1); - g.clearRect(0, y-60, w, y-34); + g.clearRect(0, y+61, w, y+88); g.setColor(g.theme.fg); - g.setFontAlign(0, 0).setFont("Vector", 26).drawString("S1: " + Ttxt1, x, y-45); + g.setFontAlign(0, 0).setFont("Vector", 26).drawString(Ttxt1, x, y+74); } if (stopWatch.start2 || stopWatch.elapsed2) { @@ -68,9 +68,9 @@ } let Ttxt2 = timeToText(Tt2); - g.clearRect(0, y+61, w, y+88); + g.clearRect(0, y-60, w, y-34); g.setColor(g.theme.fg); - g.setFontAlign(0, 0).setFont("Vector", 26).drawString("S2: " + Ttxt2, x, y+76); + g.setFontAlign(0, 0).setFont("Vector", 26).drawString(Ttxt2, x, y-45); } } @@ -103,16 +103,16 @@ const days = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; var dateStr = date.getDate() + " " + days[date.getDay()]; - // don't draw date string if stopwatch 2 is running - if (!stopWatch.start2 && !stopWatch.elapsed2) { + // don't draw date string if stopwatch 1 is running + if (!stopWatch.start1 && !stopWatch.elapsed1) { g.setFontAlign(0, 0).setFont("Vector", 26).drawString(dateStr, x-32, y+74); g.setFontAlign(0, 0).setFont("Vector", 26).drawString(feels_like, x+53, y+74); } //var wrapped = g.wrapString(myMessage, g.getWidth()-10).join("\n"); - // don't draw message if stopwatch 1 is running - if (!stopWatch.start1 && !stopWatch.elapsed1) { + // don't draw message if stopwatch 2 is running + if (!stopWatch.start2 && !stopWatch.elapsed2) { g.setFontAlign(0, 0).setFont("Vector", 26).drawString(myMessage, x, y-45); }