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 cross system slur direction bug #16572

Merged

Conversation

mike-spa
Copy link
Contributor

Resolves: #16571

This is yet another example of our layout system working against us. Because the system works one measure at a time, one system at a time, and so on, if the end chord of a slur is on a different system, the chord has never been laid out yet by the time we're computing the layout of the slur, so we don't know its direction to decide the slur direction. The only way to fix this issue is by hacking it, and anticipating some of the layout operations of the end chord.

@mike-spa mike-spa force-pushed the fixCrossSystemSlurDirectionBug branch from 8689630 to 2fa006b Compare February 28, 2023 09:38
@RomanPudashkin RomanPudashkin merged commit 1ee63f1 into musescore:master Feb 28, 2023
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.

[MU4 Issue] Cross-system slur has wrong direction and fixes itself as first re-layout is triggered
3 participants