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

Mac: Fix crash when setting background color on some controls and size changes to zero #2677

Merged

Conversation

cwensley
Copy link
Member

If a control such as a TextBox, Button, or DropDown is colorized by setting its background color, then subsequently its size is set to zero it would try to call NSImage.UnlockFocus() when it never got locked to begin with causing a crash.

@cwensley cwensley added this to the 2.8.4 milestone Aug 29, 2024
@cwensley cwensley merged commit acc5d2b into picoe:develop Aug 29, 2024
3 checks passed
@cwensley cwensley deleted the curtis/mac-fix-colorize-when-size-changed branch August 29, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant