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

Use NSGradient over old CTGradient that crashes #11

Merged
merged 1 commit into from
Nov 22, 2020
Merged

Use NSGradient over old CTGradient that crashes #11

merged 1 commit into from
Nov 22, 2020

Conversation

bradhowes
Copy link
Contributor

This solves a crashing bug I was encountered while attempting to run on macOS 11 Big Sur.
AFAICT, there is no reason to depend on CTGradient.

@flit
Copy link
Owner

flit commented Nov 22, 2020

Thank you!

Btw, I think when the code was original written, NSGradient may not have existed (Apple docs say it is available starting in 10.5). That shows how old some of the MidiKeys code is…

@bradhowes
Copy link
Contributor Author

Of course. I am sure there was a need at the time. :)

@flit flit merged commit 03551a5 into flit:master Nov 22, 2020
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.

2 participants