Skip to content

fix #305017: Cursor.addNote fails to add notes to existing chords in INPUT_STATE_INDEPENDENT mode - #6058

Merged
anatoly-os merged 1 commit into
musescore:3.xfrom
dmitrio95:305017-plugin-cursor-addnote-regression
May 12, 2020
Merged

fix #305017: Cursor.addNote fails to add notes to existing chords in INPUT_STATE_INDEPENDENT mode#6058
anatoly-os merged 1 commit into
musescore:3.xfrom
dmitrio95:305017-plugin-cursor-addnote-regression

Conversation

@dmitrio95

Copy link
Copy Markdown
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