Skip to content

Conversation

@elpaso
Copy link

@elpaso elpaso commented Jan 6, 2012

There was a bug in Stylist title function when dealing with GEOMETRYCOLLECTION: the title function removed all children, resulting in all child geometries being removed in case of a collection.

This patch makes a check before removing children to create titles and also adds titles to children in case the geometry is a collection.

@shawnbot
Copy link
Contributor

shawnbot commented Jan 6, 2012

This looks good to me. @mbostock?

(Thanks, Alessandro!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants