Small fixes

This commit is contained in:
Pieter Vander Vennet 2020-07-27 11:45:26 +02:00
parent a0db36e5d3
commit c26b037ca5
2 changed files with 2 additions and 4 deletions

View file

@ -6,8 +6,6 @@ import instantiate = WebAssembly.instantiate;
export class CheckBox extends UIElement{
private data: UIEventSource<boolean>;
private readonly _data: UIEventSource<boolean>;
private readonly _showEnabled: string|UIElement;
private readonly _showDisabled: string|UIElement;

View file

@ -233,10 +233,10 @@ new CheckBox(layerControl, closedFilterButton).AttachTo("filter__selection");
// ------------------ Setup various other UI elements ------------
document.title = layoutToUse.title.InnerRender();
document.title = Translations.W(layoutToUse.title).InnerRender();
Locale.language.addCallback(e => {
document.title = layoutToUse.title.InnerRender();
document.title = Translations.W(layoutToUse.title).InnerRender();
})