diff --git a/root.go b/root.go index 47f6d58..cd52daa 100644 --- a/root.go +++ b/root.go @@ -11,8 +11,8 @@ type Root struct { } // NewRoot creates a new container. -func NewRoot (layout tomo.Layout, children ...tomo.Object) *Container { - this := &Container { } +func NewRoot (layout tomo.Layout, children ...tomo.Object) *Root { + this := &Root { } this.init(layout, children...) this.box.SetRole(tomo.R("objects", "Root")) this.box.SetTag("outer", true)