Skip to content

Commit

Permalink
VTM: Render theme callback improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
andreynovikov committed Dec 21, 2024
1 parent 4ab941b commit a222a96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ private void createRenderTheme(String elementName, Attributes attributes) {
else if ("map-background".equals(name)) {
mapBackground = Color.parseColor(value);
if (mThemeCallback != null)
mapBackground = mThemeCallback.getColor(mapBackground);
mapBackground = mThemeCallback.getColor(null, mapBackground);

} else if ("base-stroke-width".equals(name))
baseStrokeWidth = Float.parseFloat(value);
Expand Down

0 comments on commit a222a96

Please sign in to comment.