forked from MapComplete/MapComplete
Fix rotation attribute, small fixes to hackerspace theme
This commit is contained in:
parent
d3de5475cd
commit
be3ac93eca
4 changed files with 2 additions and 19 deletions
|
@ -132,7 +132,7 @@ export default class PointRenderingConfig extends WithContextLoader {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
return new VariableUiElement(tags.map(tags => {
|
return new VariableUiElement(tags.map(tags => {
|
||||||
const rotation = self.rotation?.GetRenderValue(tags)?.txt ?? "0deg"
|
const rotation = Utils.SubstituteKeys(self.rotation?.GetRenderValue(tags)?.txt ?? "0deg", tags)
|
||||||
|
|
||||||
const htmlDefs = Utils.SubstituteKeys(self.icon.GetRenderValue(tags)?.txt, tags)
|
const htmlDefs = Utils.SubstituteKeys(self.icon.GetRenderValue(tags)?.txt, tags)
|
||||||
let defaultPin : BaseUIElement = undefined
|
let defaultPin : BaseUIElement = undefined
|
||||||
|
|
|
@ -224,10 +224,7 @@
|
||||||
"hackerspace=makerspace"
|
"hackerspace=makerspace"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"then": {
|
"then": "./assets/themes/hackerspaces/led.png"
|
||||||
"en": "./assets/themes/hackerspaces/led.png",
|
|
||||||
"de": "./assets/themes/hackerspaces/led.png"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -769,13 +769,6 @@
|
||||||
"layers": {
|
"layers": {
|
||||||
"0": {
|
"0": {
|
||||||
"description": "Hackerspace",
|
"description": "Hackerspace",
|
||||||
"icon": {
|
|
||||||
"mappings": {
|
|
||||||
"0": {
|
|
||||||
"then": "./assets/themes/hackerspaces/led.png"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"name": "Hackerspace",
|
"name": "Hackerspace",
|
||||||
"presets": {
|
"presets": {
|
||||||
"0": {
|
"0": {
|
||||||
|
|
|
@ -809,13 +809,6 @@
|
||||||
"layers": {
|
"layers": {
|
||||||
"0": {
|
"0": {
|
||||||
"description": "Hackerspace",
|
"description": "Hackerspace",
|
||||||
"icon": {
|
|
||||||
"mappings": {
|
|
||||||
"0": {
|
|
||||||
"then": "./assets/themes/hackerspaces/led.png"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"name": "Hackerspace",
|
"name": "Hackerspace",
|
||||||
"presets": {
|
"presets": {
|
||||||
"0": {
|
"0": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue