forked from MapComplete/MapComplete
Studio: theme editing
This commit is contained in:
parent
6e7eccf9de
commit
3aa9a21dea
34 changed files with 975 additions and 350 deletions
|
|
@ -246,6 +246,10 @@ class UpdateLegacyTheme extends DesugaringStep<LayoutConfigJson> {
|
|||
console.log("Removing old background in", json.id)
|
||||
}
|
||||
|
||||
if (typeof oldThemeConfig.credits === "string") {
|
||||
oldThemeConfig.credits = [oldThemeConfig.credits]
|
||||
}
|
||||
|
||||
if (oldThemeConfig["roamingRenderings"] !== undefined) {
|
||||
if (oldThemeConfig["roamingRenderings"].length == 0) {
|
||||
delete oldThemeConfig["roamingRenderings"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue