mirror of
https://github.com/BlueMap-Minecraft/BlueMapAPI.git
synced 2024-11-23 10:45:47 +01:00
Fix style-classes not being applied by the builder
This commit is contained in:
parent
51d04e8135
commit
942cec6571
@ -232,6 +232,7 @@ public HtmlMarker build() {
|
||||
checkNotNull(html, "html")
|
||||
);
|
||||
if (anchor != null) marker.setAnchor(anchor);
|
||||
marker.setStyleClasses(classes);
|
||||
return build(marker);
|
||||
}
|
||||
|
||||
|
@ -271,6 +271,7 @@ public POIMarker build() {
|
||||
if (detail != null) marker.setDetail(detail);
|
||||
if (icon != null) marker.setIcon(icon, anchor);
|
||||
else if (anchor != null) marker.setAnchor(anchor);
|
||||
marker.setStyleClasses(classes);
|
||||
return build(marker);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user