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 #289254: Beam in edit mode always switches to right grab handle #5156

Merged
merged 1 commit into from
Nov 18, 2019

Conversation

mattmcclinch
Copy link
Contributor

undoChangeProperty(Pid::USER_MODIFIED, true);
undoChangeProperty(Pid::BEAM_POS, QPointF(y1 / _spatium, y2 / _spatium));
Copy link
Contributor

Choose a reason for hiding this comment

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

Are there any reasons why we need this order exactly? If so it would be better to leave a comment explaining that in the code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, there is a reason. See https://musescore.org/en/node/289254#comment-933890, which is in response to the comment just before it. I have just added a comment in the code explaining why the order is important.

Copy link
Contributor

Choose a reason for hiding this comment

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

OK, thanks!

@dmitrio95 dmitrio95 merged commit 74d17fc into musescore:master Nov 18, 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