Change when the parent is notified of a child's minimum size change

This commit is contained in:
Sasha Koshka 2024-07-25 21:04:32 -04:00
parent fbb6d61cfc
commit bb082d3989

View File

@ -484,9 +484,6 @@ func (this *box) calculateMinimumSize () image.Point {
minSize.Y = userMinSize.Y
}
if this.parent != nil {
this.parent.notifyMinimumSizeChange(this)
}
return minSize
}
@ -564,6 +561,9 @@ func (this *box) invalidateDraw () {
func (this *box) invalidateMinimum () {
this.minSize.Invalidate()
if this.parent != nil {
this.parent.notifyMinimumSizeChange(this)
}
}
func (this *box) recursiveReApply () {