From 74fd3fdd558f1bacb003787d35da355a32a613a5 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Sun, 26 May 2024 15:18:56 -0400 Subject: [PATCH] Rename ContainerBox.Delete to ContainerBox.Remove --- containerbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containerbox.go b/containerbox.go index bfaafcb..378bbb9 100644 --- a/containerbox.go +++ b/containerbox.go @@ -104,7 +104,7 @@ func (this *containerBox) Add (child tomo.Object) { this.invalidateMinimum() } -func (this *containerBox) Delete (child tomo.Object) { +func (this *containerBox) Remove (child tomo.Object) { box := assertAnyBox(child.GetBox()) index := indexOf(this.children, tomo.Box(box)) if index < 0 { return }