mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Mask visuals
This commit is contained in:
parent
936660b5e6
commit
18082e9736
|
@ -240,6 +240,7 @@ void VLVisualFilter::ResetWithKey(int key)
|
|||
uint16_t VLVisualFilter::operator()(int gridPos, uint16_t visual)
|
||||
{
|
||||
gridPos = (gridPos+60) % 12;
|
||||
visual &= VLNote::kAccidentalsMask;
|
||||
if (visual == VLNote::kWantNatural)
|
||||
visual = 0;
|
||||
if (visual != fState[gridPos]) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user