Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #294121: navigation skips annotations entered out of order
Annotations are appended to the annotation list as they are entered. This means they won't necessarily be sorted by track, if you enter them onto staves in any order but top down. The result is the navitgation code skips all annotations for a staff after the first annotation it encounters on a different staff. This commit fixes the issue by continuing to loop through the annotations, looking for more on the same staff. anatoly-os: rewrite the improvement from #5308 using `find_if` anatoly-os: Did refactoring using `find_if` to make the code cleaner. Initial idea and implementation are authored by @MarcSabatella.
- Loading branch information