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

Custom Key Sig editor - accidentals horizontal auto spacing #10454

Closed
wants to merge 1 commit into from

Conversation

sammik
Copy link
Contributor

@sammik sammik commented Feb 5, 2022

Resolves: (329084)

When accidental is added, its h-position is shifted to normal position.
If Control is pressed, free placement is enabled (unshifted placement like it was by default before).

  • I signed CLA
  • I made sure the code in the PR follows the coding rules
  • I made sure the code compiles on my machine
  • I made sure there are no unnecessary changes in the code
  • I made sure the title of the PR reflects the core meaning of the issue you are solving
  • I made sure the commit message(s) contain a description and answer the question "Why do those changes fix that particular issue?" or "Why are those changes really necessary as improvements?"
  • I made sure the commit message title starts with "fix #424242:" if there is a related issue
  • I created the test (mtest, vtest, script test) to verify the changes I made

double spatium2 = gpaletteScore->spatium() * .5;
int line = int((y + spatium2 * .5) / spatium2);
double x = a->ipos().x();
double _spatium = gpaletteScore->spatium();
Copy link
Contributor

Choose a reason for hiding this comment

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

remove another space here, after the =

Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Feb 8, 2022
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Feb 9, 2022
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Feb 9, 2022
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Feb 9, 2022
@sammik sammik changed the title Custom key signatures horizontal spacing Custom Key Sig editor - accidentals horizontal auto spacing Feb 11, 2022
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Feb 14, 2022
…re editor

- accidentals are shifted to their normal h-positions
- if Control is pressed, free placement (like before)

Backport of musescore#10454
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Feb 24, 2022
…re editor

- accidentals are shifted to their normal h-positions
- if Control is pressed, free placement (like before)

Backport of musescore#10454
- accidentals are shifted to their normal h-positions
- if Control is pressed, free placement (like before)
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 12, 2022
…re editor

- accidentals are shifted to their normal h-positions
- if Control is pressed, free placement (like before)

Backport of musescore#10454
@sammik sammik mentioned this pull request May 26, 2022
8 tasks
@sammik
Copy link
Contributor Author

sammik commented May 30, 2022

Fixed in #11581.
Closing this one.

@sammik sammik closed this May 30, 2022
@sammik sammik deleted the custom-key-sig-hspacing branch July 4, 2022 11:59
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Mar 5, 2023
…re editor

- accidentals are shifted to their normal h-positions
- if Control is pressed, free placement (like before)

Backport of musescore#10454
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

2 participants