Update clock example
This commit is contained in:
parent
8bd6fac8a8
commit
2db501e66c
@ -68,7 +68,8 @@ func NewClockFace () *ClockFace {
|
||||
box := &ClockFace {
|
||||
CanvasBox: tomo.NewCanvasBox(),
|
||||
}
|
||||
tomo.Apply(box, tomo.R("nasin", "ClockFace", ""))
|
||||
box.SetRole(tomo.R("nasin", "ClockFace", ""))
|
||||
tomo.Apply(box)
|
||||
box.SetDrawer(box)
|
||||
return box
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user