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 #298061: fix a crash on "set as style" if score ends with a frame #5510

Merged

Conversation

dmitrio95
Copy link
Contributor

Resolves: https://musescore.org/en/node/298061

  • Don't pass staff number to adjustCanvasPosition if trying to
    adjust viewport to a frame. This avoids a crash itself.
  • Implement a more robust approach to determine a measure relevant
    to the current edit operation in CmdState. This avoids trying to
    unnecessarily jump to the frame at the end of a score.

 - Don't pass staff number to adjustCanvasPosition if trying to
   adjust viewport to a frame. This avoids a crash itself.
 - Implement a more robust approach to determine a measure relevant
   to the current edit operation in CmdState. This avoids trying to
   unnecessarily jump to the frame at the end of a score.
@anatoly-os anatoly-os merged commit c7ab61e into musescore:master Dec 4, 2019
@dmitrio95 dmitrio95 deleted the 298061-set-as-style-viewport-crash branch December 4, 2019 08:13
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