Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #314854: element offset marked nostyle after edit
Resolves: https://musescore.org/en/node/314854 Currently, on any drag operation in edit mode (including "drag" via arrow keys, which uses the same code), the offset is set to NOSTYLE, whereas it should be UNSTYLED (if it was previously styled). The result is that after such an edit, the offset can no longer be reset to its original STYLED state, so it even after a reset of the offset itself, it remains marked as NOSTYLE and will not respond to style changes, There is code in the ordinary drag case (Element::endDrag()) to handle this, but it is missing from the edit mode version. The fix here is to simply reproduce that code in Element::endEditDrag().
- Loading branch information