Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't merge paths that are inside of a group that contains a clip-path #2

Closed
alexjlockwood opened this issue Nov 29, 2017 · 0 comments

Comments

@alexjlockwood
Copy link
Owner

For example, this group should not have its paths merged, since the clip-path affects how the two are rendered together:

<group>
    <path>
    <clip-path>
    <path>
</group>

If the two paths both occurred before or after the clip-path, they would be fine to merge.

Link: https://github.com/alexjlockwood/avdo/blob/2e9d6475b78a508c32de96eb3f1ba5bad70b4f28/src/plugins/mergePaths.ts#L23

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

No branches or pull requests

1 participant