Hide controls when needed

This commit is contained in:
Pieter Vander Vennet 2021-02-21 03:51:29 +01:00
parent 604d7863fe
commit 0e5b69f6cf
8 changed files with 671 additions and 51 deletions

View file

@ -236,7 +236,8 @@ export class InitUiElements {
});
// ?-Button on Desktop, opens panel with close-X.
const help = Svg.help_svg().SetClass("open-welcome-button block");
const help = new MapControlButton(Svg.help_svg());
// .SetClass("open-welcome-button block");
const checkbox = new CheckBox(
fullOptions
.SetClass("welcomeMessage")
@ -295,7 +296,7 @@ export class InitUiElements {
).SetClass("p-0.5 md:hidden")
new Combine([copyrightButton, checkbox])
.AttachTo("layer-selection");
.AttachTo("bottom-left");
State.state.locationControl