Many tweaks to use MC in an iframe with less clutter

This commit is contained in:
Pieter Vander Vennet 2024-06-27 17:37:34 +02:00
parent 894b0d45ca
commit f88cb9a730
19 changed files with 384 additions and 236 deletions

View file

@ -328,7 +328,7 @@ export default class PointRenderingConfig extends WithContextLoader {
?.SetClass("flex items-center justify-center absolute marker-label")
?.SetClass(cssClassesLabel)
if (cssLabel) {
label.SetStyle(cssLabel)
label?.SetStyle(cssLabel)
} else if (labelOnly) {
return label?.SetStyle("transform: translate(-50%, -50%);")
}