Rename ContainerBox.Delete to ContainerBox.Remove
This commit is contained in:
parent
398ad08867
commit
74fd3fdd55
@ -104,7 +104,7 @@ func (this *containerBox) Add (child tomo.Object) {
|
|||||||
this.invalidateMinimum()
|
this.invalidateMinimum()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *containerBox) Delete (child tomo.Object) {
|
func (this *containerBox) Remove (child tomo.Object) {
|
||||||
box := assertAnyBox(child.GetBox())
|
box := assertAnyBox(child.GetBox())
|
||||||
index := indexOf(this.children, tomo.Box(box))
|
index := indexOf(this.children, tomo.Box(box))
|
||||||
if index < 0 { return }
|
if index < 0 { return }
|
||||||
|
Reference in New Issue
Block a user