Merge pull request #1150 from cewert/fix-clock-bug
This commit is contained in:
commit
41ed77ceb9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user