Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect painting of global FX bypasses #4893

Merged

Conversation

mkruselj
Copy link
Collaborator

Closes #4892

Also fixes color of send 3/4 sliders in Dark skin.

Closes surge-synthesizer#4892

Also fixes color of send 3/4 sliders in Dark skin.
return true;
break;
case fxb_scene_fx_only:
if (fxslot > 3)
if ((fxslot >= fxslot_send1 && fxslot == fxslot_global2) ||
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you really mean al == in the second?
This will only be true for fxslot == global2 or global 4
I think you mean >= fxslot_send1 && <= fxslot_global2

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah you definitely meant <=. Pushed a fix to your branch and will merge. Good catch!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that was an unfortunate typo, I did mean to cover the range so <= was definitely needed there 🙂

@baconpaul
Copy link
Collaborator

think it has a tiny bug?

@baconpaul baconpaul merged commit 38bfe62 into surge-synthesizer:main Aug 23, 2021
@mkruselj mkruselj deleted the fix-fxslot-bypass-painting-4892 branch August 23, 2021 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect FX bypasses after slot expansion
2 participants