DDMAL / DDMAL/Neon

Moving a neume to a new staff causes it to stick to the top

Open
#891 1 comment 0 reactions 1 assignee Claimed by @jinh0 View on GitHub
bug Severity: LOW
Dominant language
TypeScript
Stars
26
Forks
10
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug
Moving a neume to any staff below its current staff that is not the one right below it causes the neumes to stick to the top.

~~This weird behaviour does not happen if you move the neume to a staff above rather than below.~~
EDIT: this stickiness to the top happens when you move a neume to a staff above it... but it has to be a staff somewhat far above it.

From what I have discovered while trying to work on #864 , this is due to how neumes get moved: the pitch is calculated according to its original staff, and since the neume is so far away from the original clef, its pitch is unknown (there seems to be a minimum octave?)

## To reproduce

Try moving syllables / neumes to another staff below (not the one right below it) and the neumes will always stick to the top.

## Expected behavior
The neume should be placed where the user dropped it.

## Screenshots or Videos
https://user-images.githubusercontent.com/40512164/174880230-0de58e07-9381-4a7a-a721-17ddd526d1e0.mov

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.