forked from MapComplete/MapComplete
Merge develop
This commit is contained in:
commit
2ad72ae346
95 changed files with 2856 additions and 594 deletions
|
@ -38,6 +38,7 @@ import Combine from "./UI/Base/Combine";
|
|||
import SelectedFeatureHandler from "./Logic/Actors/SelectedFeatureHandler";
|
||||
import LZString from "lz-string";
|
||||
import {LayoutConfigJson} from "./Customizations/JSON/LayoutConfigJson";
|
||||
import AttributionPanel from "./UI/BigComponents/AttributionPanel";
|
||||
|
||||
export class InitUiElements {
|
||||
|
||||
|
@ -287,11 +288,7 @@ export class InitUiElements {
|
|||
const copyrightNotice =
|
||||
new ScrollableFullScreen(
|
||||
() => Translations.t.general.attribution.attributionTitle.Clone(),
|
||||
() => new Combine([
|
||||
Translations.t.general.attribution.attributionContent,
|
||||
"<br/>",
|
||||
new Attribution(undefined, undefined, State.state.layoutToUse, undefined)
|
||||
]),
|
||||
() => new AttributionPanel(State.state.layoutToUse),
|
||||
"copyright"
|
||||
)
|
||||
|
||||
|
@ -300,7 +297,7 @@ export class InitUiElements {
|
|||
copyrightNotice,
|
||||
new MapControlButton(Svg.osm_copyright_svg()),
|
||||
copyrightNotice.isShown
|
||||
).SetClass("p-0.5 md:hidden")
|
||||
).SetClass("p-0.5")
|
||||
|
||||
new Combine([copyrightButton, checkbox])
|
||||
.AttachTo("bottom-left");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue