Update clock example

This commit is contained in:
Sasha Koshka 2024-06-03 22:03:19 -04:00
parent 8bd6fac8a8
commit 2db501e66c

View File

@ -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
} }