forked from MapComplete/MapComplete
Refactoring: split icons into proper layered icons, fix and rerun shops-thief
This commit is contained in:
parent
d6cd0516bb
commit
19a760178b
307 changed files with 26845 additions and 116541 deletions
|
@ -188,7 +188,7 @@ class IdThief {
|
|||
|
||||
const mapping = {
|
||||
if: preset.parseTags(),
|
||||
then: "circle:white;./assets/layers/id_presets/" + preset.icon + ".svg",
|
||||
then: "./assets/layers/id_presets/" + preset.icon + ".svg",
|
||||
}
|
||||
mappings.push(mapping)
|
||||
}
|
||||
|
@ -328,5 +328,5 @@ idPresets.tagRenderings = [
|
|||
mappings: thief.readShopIcons(),
|
||||
},
|
||||
]
|
||||
|
||||
console.log("Writing id presets to", id_presets_path)
|
||||
writeFileSync(id_presets_path, JSON.stringify(idPresets, null, " "), "utf8")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue