Skip to content

Commit

Permalink
Fix style-classes not being applied by the builder
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlueF committed Dec 16, 2022
1 parent 51d04e8 commit 942cec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ public HtmlMarker build() {
checkNotNull(html, "html")
);
if (anchor != null) marker.setAnchor(anchor);
marker.setStyleClasses(classes);
return build(marker);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 942cec6

Please sign in to comment.