Fixed Window.NewChild returning the parent (oops)

This commit is contained in:
Sasha Koshka 2024-06-07 01:47:24 -04:00
parent 5657f85c83
commit 52a0136e60

View File

@ -262,7 +262,7 @@ func (this *window) NewChild (bounds image.Rectangle) (tomo.Window, error) {
leader.xWindow.Id) leader.xWindow.Id)
child.setType("UTILITY") child.setType("UTILITY")
// child.inheritProperties(leader.window) // child.inheritProperties(leader.window)
return this, err return child, err
} }
func (this *window) Widget () (tomo.Window, error) { func (this *window) Widget () (tomo.Window, error) {