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