mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +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)
|
uint16_t VLVisualFilter::operator()(int gridPos, uint16_t visual)
|
||||||
{
|
{
|
||||||
gridPos = (gridPos+60) % 12;
|
gridPos = (gridPos+60) % 12;
|
||||||
|
visual &= VLNote::kAccidentalsMask;
|
||||||
if (visual == VLNote::kWantNatural)
|
if (visual == VLNote::kWantNatural)
|
||||||
visual = 0;
|
visual = 0;
|
||||||
if (visual != fState[gridPos]) {
|
if (visual != fState[gridPos]) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user