Update object code to use new containers

This commit is contained in:
2024-09-12 14:54:26 -04:00
parent f1f71208f2
commit 51ce2a84f2
4 changed files with 15 additions and 20 deletions

View File

@@ -62,7 +62,7 @@ func newMenu (parent tomo.Window, bounds image.Rectangle, items ...tomo.Object)
})
}
}
menu.rootContainer.SetRole(tomo.R("objects", "Container"))
menu.rootContainer.SetRole(tomo.R("objects", "Root"))
menu.rootContainer.SetTag("menu", true)
menu.Window.SetRoot(menu.rootContainer)