diff --git a/internal/system/box.go b/internal/system/box.go index 1b73b8d..8ca727e 100644 --- a/internal/system/box.go +++ b/internal/system/box.go @@ -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 () {