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 ottava dragging #26543

Merged
merged 1 commit into from
Feb 17, 2025
Merged

Fix ottava dragging #26543

merged 1 commit into from
Feb 17, 2025

Conversation

mike-spa
Copy link
Contributor

Resolves: #26506

Ottava lines are different in that their end point isn't calculated just based on the end tick, but depends on the position of the last chord spanned by the line, which is calculated in computeEndElement. Therefore we need an additional call to computeEndElement when changing the end tick, otherwise the rebasing of the dragging offset will be incorrect.

@mike-spa mike-spa marked this pull request as ready for review February 17, 2025 10:12
@miiizen miiizen merged commit 5ba97bc into musescore:master Feb 17, 2025
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
Development

Successfully merging this pull request may close these issues.

Octave lines (8VE, etc) incorrectly respond to dragging - moving badly out of position
4 participants