Console logging

This commit is contained in:
Pieter Vander Vennet 2020-11-02 12:38:04 +01:00
parent 6118d734c0
commit 4f3135caef
6 changed files with 10 additions and 16 deletions

View file

@ -22,18 +22,18 @@ export class SubstitutedTranslation extends UIElement {
this.translation = translation;
this.tags = tags;
const self = this;
this.dumbMode = false;
Locale.language.addCallbackAndRun(() => {
self.content = self.CreateContent();
self.Update();
});
this.dumbMode = false;
}
InnerRender(): string {
return new Combine(this.content).Render();
}
private CreateContent(): UIElement[] {
let txt = this.translation?.txt;
if (txt === undefined) {