mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 03:04:00 +00:00
Fix improper modulus for grid position
This commit is contained in:
parent
99d3afc833
commit
e66a6fa230
|
@ -239,7 +239,7 @@ void VLVisualFilter::ResetWithKey(int key)
|
|||
|
||||
uint16_t VLVisualFilter::operator()(int gridPos, uint16_t visual)
|
||||
{
|
||||
gridPos = (gridPos+60) % 12;
|
||||
gridPos = (gridPos+700) % 7;
|
||||
visual &= VLNote::kAccidentalsMask;
|
||||
if (visual == VLNote::kWantNatural)
|
||||
visual = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user