Skip to content

SVG length scales with scaleFactor#271

Merged
mscuthbert merged 2 commits intomasterfrom
staff-length-scaleFactor
May 1, 2025
Merged

SVG length scales with scaleFactor#271
mscuthbert merged 2 commits intomasterfrom
staff-length-scaleFactor

Conversation

@vanderstel
Copy link
Copy Markdown
Member

Stream.createNewDOM() adjusts the computed height of the div based on this.renderOptions.scaleFactor.y. We should do the same with the computed width (with this.renderOptions.scaleFactor.x). Without this adjustment, extra space appears to the right of the staff when scaleFactor.x < 1.0.

@mscuthbert
Copy link
Copy Markdown
Member

Thank you! This is a major bug fixed!

@mscuthbert mscuthbert merged commit 1224364 into master May 1, 2025
2 checks passed
@mscuthbert mscuthbert deleted the staff-length-scaleFactor branch May 1, 2025 09:14
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