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

Fix y-offsets for tracks in SVG exports #4743

Merged
merged 1 commit into from
Dec 30, 2024
Merged

Fix y-offsets for tracks in SVG exports #4743

merged 1 commit into from
Dec 30, 2024

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Dec 30, 2024

after the react 19 upgrade, the y-offsets for tracks were calculated differently due to a lint warning saying it was incompatible with the react compiler (changed from mutably updating during rendering to a reducer)

this PR fixes the update.

svg snapshots in this PR's files changed shows the intuitive fix

@cmdcolin cmdcolin merged commit 1956768 into main Dec 30, 2024
4 checks passed
@cmdcolin cmdcolin deleted the offsets branch December 30, 2024 15:59
@cmdcolin
Copy link
Collaborator Author

note that this didn't affect any released versions, just the interim nightly builds

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