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 #305017: Cursor.addNote fails to add notes to existing chords in INPUT_STATE_INDEPENDENT mode #6058

Merged

Conversation

dmitrio95
Copy link
Contributor

Resolves: https://musescore.org/en/node/305017 (regression after #5657)

The issue appeared after bd979cf which
attempted to decouple the logic behind Cursor.addNote() from InputState
in Score::_is to make it possible to choose whether Cursor should
be synchronized with score input state. However Score::addNote implicitly
contained more dependencies on Score::_is which were not covered by
the previous change. This commit is intended to remove this dependency
and fix behavior of "independent" mode of Cursor in QML plugins.

…INPUT_STATE_INDEPENDENT mode

The issue appeared after bd979cf which
attempted to decouple the logic behind Cursor.addNote() from InputState
in Score::_is to make it possible to choose whether Cursor should
be synchronized with score input state. However Score::addNote implicitly
contained more dependencies on Score::_is which were not covered by
the previous change. This commit is intended to remove this dependency
and fix behavior of "independent" mode of Cursor in QML plugins.
@dmitrio95 dmitrio95 changed the base branch from master to 3.x May 8, 2020 03:05
@anatoly-os anatoly-os merged commit 87c059e into musescore:3.x May 12, 2020
anatoly-os added a commit that referenced this pull request May 12, 2020
…regression

fix #305017: Cursor.addNote fails to add notes to existing chords in INPUT_STATE_INDEPENDENT mode
@dmitrio95 dmitrio95 deleted the 305017-plugin-cursor-addnote-regression branch May 12, 2020 14:24
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