Fix rotation attribute, small fixes to hackerspace theme

This commit is contained in:
pietervdvn 2021-11-04 22:34:22 +01:00
parent d3de5475cd
commit be3ac93eca
4 changed files with 2 additions and 19 deletions

View file

@ -132,7 +132,7 @@ export default class PointRenderingConfig extends WithContextLoader {
return undefined;
}
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)
let defaultPin : BaseUIElement = undefined

View file

@ -224,10 +224,7 @@
"hackerspace=makerspace"
]
},
"then": {
"en": "./assets/themes/hackerspaces/led.png",
"de": "./assets/themes/hackerspaces/led.png"
}
"then": "./assets/themes/hackerspaces/led.png"
}
]
},

View file

@ -769,13 +769,6 @@
"layers": {
"0": {
"description": "Hackerspace",
"icon": {
"mappings": {
"0": {
"then": "./assets/themes/hackerspaces/led.png"
}
}
},
"name": "Hackerspace",
"presets": {
"0": {

View file

@ -809,13 +809,6 @@
"layers": {
"0": {
"description": "Hackerspace",
"icon": {
"mappings": {
"0": {
"then": "./assets/themes/hackerspaces/led.png"
}
}
},
"name": "Hackerspace",
"presets": {
"0": {