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 #15038: Recompute default stem length when hook is added #15117

Merged
merged 2 commits into from Mar 20, 2023

Conversation

asattely
Copy link
Contributor

@asattely asattely commented Dec 12, 2022

Resolves: #15038
Resolves: #14569

The stems were poorly sized because the computation for stem length came before any beams were removed / hooks were added. Now there is a recalculation of stem length.

@oktophonie
Copy link
Contributor

Looks good; it is also necessary to re-render when stem directions change. When the first note of a) is split from the group, for example, we get b). (The stem direction should flip, which does happen when the layout is recomputed.)
image

@asattely asattely force-pushed the break-beam-refresh branch 2 times, most recently from 4c99b65 to 805eb90 Compare December 12, 2022 17:15
@RomanPudashkin
Copy link
Contributor

@asattely please pay attention to the failed utests

@RomanPudashkin RomanPudashkin merged commit 017daba into musescore:master Mar 20, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants