Merge pull request #1150 from cewert/fix-clock-bug

This commit is contained in:
Charles Ewert 2023-04-06 09:08:18 -04:00 committed by GitHub
commit 41ed77ceb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,10 @@ sub init()
m.overlayMinutes = m.top.findNode("overlayMinutes") m.overlayMinutes = m.top.findNode("overlayMinutes")
m.overlayMeridian = m.top.findNode("overlayMeridian") m.overlayMeridian = m.top.findNode("overlayMeridian")
m.overlayMeridian.font.size = 20 m.overlayMeridian.font.size = 20
' start timer
m.currentTimeTimer = m.top.findNode("currentTimeTimer") m.currentTimeTimer = m.top.findNode("currentTimeTimer")
' display current time
updateTime()
' start timer to update clock every minute
m.currentTimeTimer.control = "start" m.currentTimeTimer.control = "start"
m.currentTimeTimer.ObserveField("fire", "updateTime") m.currentTimeTimer.ObserveField("fire", "updateTime")
end if end if