Skip to content

Use css for scaling the document instead of repainting#300

Merged
jaredjj3 merged 1 commit into
masterfrom
scaling
Jun 28, 2026
Merged

Use css for scaling the document instead of repainting#300
jaredjj3 merged 1 commit into
masterfrom
scaling

Conversation

@jaredjj3

Copy link
Copy Markdown
Collaborator

This PR simplifies the site implementation of vexml. Instead of re-rendering every time the container rersizes, CSS re-scales it. The result is much more performant and it removes a lot of the edge cases associated with re-rendering and reflowing the MusicXML document.

Library users still have the flexibility to re-render at a different width if they want.

@jaredjj3 jaredjj3 self-assigned this Jun 28, 2026
@jaredjj3 jaredjj3 merged commit ac6ff11 into master Jun 28, 2026
1 check passed
@jaredjj3 jaredjj3 deleted the scaling branch June 28, 2026 01:09
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