forked from MapComplete/MapComplete
Hide controls when needed
This commit is contained in:
parent
604d7863fe
commit
0e5b69f6cf
8 changed files with 671 additions and 51 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue