Merge branch 'master' into develop

This commit is contained in:
Pieter Vander Vennet 2022-01-06 22:02:36 +01:00
commit bafaba7011
53 changed files with 29088 additions and 104 deletions

View file

@ -89,7 +89,7 @@ export default class PointRenderingConfig extends WithContextLoader {
if (match !== null && Svg.All[match[1] + ".svg"] !== undefined) {
const svg = (Svg.All[match[1] + ".svg"] as string)
const targetColor = match[2]
const img = new Img(svg.replace(/#000000/g, targetColor), true)
const img = new Img(svg.replace(/rgb\(0%,0%,0%\)/g, targetColor), true)
.SetStyle(style)
if (isBadge) {
img.SetClass("badge")