robust-parenting #12

Merged
sashakoshka merged 17 commits from robust-parenting into main 2023-03-15 22:34:08 -06:00
Showing only changes of commit 1a66224648 - Show all commits

View File

@ -103,6 +103,7 @@ func (window *window) Adopt (child elements.Element) {
// adopt new child
window.child = child
child.SetParent(window)
if newChild, ok := child.(elements.Themeable); ok {
newChild.SetTheme(window.theme)
}