Small fixes
This commit is contained in:
parent
a0db36e5d3
commit
c26b037ca5
2 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
4
index.ts
4
index.ts
|
@ -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();
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue