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 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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -769,13 +769,6 @@
|
|||
"layers": {
|
||||
"0": {
|
||||
"description": "Hackerspace",
|
||||
"icon": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "./assets/themes/hackerspaces/led.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "Hackerspace",
|
||||
"presets": {
|
||||
"0": {
|
||||
|
|
|
@ -809,13 +809,6 @@
|
|||
"layers": {
|
||||
"0": {
|
||||
"description": "Hackerspace",
|
||||
"icon": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "./assets/themes/hackerspaces/led.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "Hackerspace",
|
||||
"presets": {
|
||||
"0": {
|
||||
|
|
Loading…
Reference in a new issue