Skip to content

Conversation

@sircinnamon
Copy link
Contributor

Noticed recently that under some conditions, rectangles within the svg are using x="0", y="0" and a transform+translate to position them. This causes the refit to resize them incorrectly.

I've updated the regex to only match a rectangle that immediately follows the svg tag. I've also updated the test to prevent any regression.

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.

1 participant