This commit is contained in:
Léo
2021-06-23 18:38:54 +02:00

View File

@ -57,8 +57,10 @@ public class UIElementText extends UIDummy{
for (ObjectGl obj : this.txt.getCharList()){ //Cast en ObjectGl for (ObjectGl obj : this.txt.getCharList()){ //Cast en ObjectGl
this.engine.remove_objectGl(obj); this.engine.remove_objectGl(obj);
} }
if (background != null){
this.engine.remove_objectGl(background); this.engine.remove_objectGl(background);
} }
}
/** /**
* Modifier le texte * Modifier le texte