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 #291261: Make volta mouse drops apply only to first staff by default #5182

Merged
merged 1 commit into from Aug 30, 2019

Conversation

mattmcclinch
Copy link
Contributor

Resolves: https://musescore.org/en/node/291261.
Also resolves: https://musescore.org/en/node/291431.

This PR makes use of the ScoreView::dragMeasureAnchorElement() function that was once used when dragging Voltas from the palette, but is no longer in use. I have updated this function to make it more consistent with ScoreView::dragTimeAnchorElement(), and I have modified it to allow the anchor to be on a staff other than the top one if the user is holding down the Control key.

I would like to thank @ericfont for the work he did on #5167, which was the basis for this PR.

fix #291431: Incorrect drop anchor displayed while dragging a Volta
@ericfont
Copy link
Contributor

I've tested this PR and it seems to work correctly.

@anatoly-os anatoly-os merged commit f38f58e into musescore:master Aug 30, 2019
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.

None yet

3 participants