MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

Fix #15038: Recompute default stem length when hook is added

Open asattely opened this issue 3 years ago • 1 comments

Resolves: https://github.com/musescore/MuseScore/issues/15038

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.

asattely avatar Dec 12 '22 02:12 asattely

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

its-not-nice avatar Dec 12 '22 10:12 its-not-nice

@asattely please pay attention to the failed utests

RomanPudashkin avatar Mar 20 '23 09:03 RomanPudashkin