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 #195146: rehearsalmark alignment #3378

Merged
merged 1 commit into from
Jan 11, 2018
Merged

fix #195146: rehearsalmark alignment #3378

merged 1 commit into from
Jan 11, 2018

Conversation

lyrischesich
Copy link
Contributor

After adding a new rehearsalmark by double clicking the palette-element is cloned and restyled. The restyled clone from the palette is always horizontal centered before the restyling. Because of the bitwise OR in the restyle-method it can get centered AND right aligned! That is why I suggest unsetting all HMASK-flags before setting new horizontal-alignment-flags. The same should be right for the VMASK-flags. This fixes the problem descibed here: https://musescore.org/en/node/195036#comment-706826

…tte-element is cloned and restyled. The restyled clone is always horizontal centered. Because of the bitwise OR in the restyle-method it can get centered AND right aligned! That is why I suggest unsetting all HMASK-flags before setting new horizontal-alignment-flags. The same should be right for the VMASK-flags. This fixes the problem descibed here: https://musescore.org/en/node/195036#comment-706826
@lasconic lasconic merged commit c346ff9 into musescore:2.2 Jan 11, 2018
@lyrischesich lyrischesich deleted the 195146-rehearsalmark-alignment branch January 15, 2018 13:15
blackears pushed a commit to blackears/MuseScore that referenced this pull request Jul 4, 2018
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.

2 participants