From 242dea345916f8430fb0b05ff168a68c298668c2 Mon Sep 17 00:00:00 2001 From: Dione Batista Date: Sun, 5 Jun 2022 12:54:38 -0300 Subject: [PATCH] Clear Clock Location Before Update Time --- apps/cassioWatch/app.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/cassioWatch/app.js b/apps/cassioWatch/app.js index 680531a61..99d706ab3 100644 --- a/apps/cassioWatch/app.js +++ b/apps/cassioWatch/app.js @@ -104,6 +104,12 @@ function DrawClock() { m = d.getMinutes(); let time = h + ":" + ("0" + m).substr(-2); g.setFont("7x11Numeric7Seg", 3); + + g.clearRect(80, 57,170,96); + g.setColor(0, 255, 255); + g.drawRect(80, 57,170,96); + g.fillRect(80, 57,170,96); + g.setColor(0, 0, 0); g.drawString(time, 70, 60); g.setFont("8x12", 2); g.drawString(DayMap[d.getDay()], 18, 130);