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

Avoid overlapping brackets #15514

Merged
merged 1 commit into from Mar 14, 2023

Conversation

mike-spa
Copy link
Contributor

Resolves: #15456

// Make sure this brackets won't overlap with others sharing same column.
// If overlaps are found, move the other brackets outwards (i.e. increase column).
for (staff_idx_t staffIdx = startStaffIdx; staffIdx < startStaffIdx + span && staffIdx < totStaves; ++staffIdx) {
for (BracketItem* bracketItem : staves().at(staffIdx)->brackets()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should use _staves directly here

@RomanPudashkin
Copy link
Contributor

@mike-spa please rebase it

@RomanPudashkin
Copy link
Contributor

@mike-spa any update on this? :)

@mike-spa please rebase it

@mike-spa
Copy link
Contributor Author

Oops, lost sight of this one! Done and rebased 👍

@RomanPudashkin RomanPudashkin merged commit 591ef84 into musescore:master Mar 14, 2023
11 checks passed
@musescore musescore deleted a comment from RobFog Jun 12, 2023
@musescore musescore deleted a comment from RobFog Jun 12, 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.

Overlap in score
3 participants