Further fixes to clear up the fullscreen

This commit is contained in:
Pieter Vander Vennet 2021-03-12 14:52:34 +01:00
parent 482a81b40a
commit 558265eba9
9 changed files with 50 additions and 17 deletions

View file

@ -33,7 +33,7 @@ export default class FullWelcomePaneWithTabs extends UIElement {
this._component = new ScrollableFullScreen(
() => layoutToUse.title.Clone(),
() => FullWelcomePaneWithTabs.GenerateContents(layoutToUse, State.state.osmConnection.userDetails),
isShown
"welcome" ,isShown
)
}

View file

@ -11,7 +11,7 @@ import {UIEventSource} from "../../Logic/UIEventSource";
export default class LayerControlPanel extends ScrollableFullScreen {
constructor(isShown: UIEventSource<boolean>) {
super(LayerControlPanel.GenTitle, LayerControlPanel.GeneratePanel, isShown);
super(LayerControlPanel.GenTitle, LayerControlPanel.GeneratePanel, "layers", isShown);
}
private static GenTitle(): UIElement {