Rename ContainerBox.Delete to ContainerBox.Remove

This commit is contained in:
Sasha Koshka 2024-05-26 15:18:56 -04:00
parent 398ad08867
commit 74fd3fdd55
1 changed files with 1 additions and 1 deletions

View File

@ -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 }