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: Add ability to draw NSImage via Graphics when it is a template #2019

Merged

Conversation

cwensley
Copy link
Member

This allows you to draw a template-based NSImage either by loading a "*Template" image using NSImage.FromNamed(), or when setting its Template property to true. This makes it easier to use images that work on both dark and light mode on macOS, without having to make a separate image for each.

@cwensley cwensley added this to the 2.6.0 milestone Aug 23, 2021
@cwensley cwensley merged commit a85aaf4 into picoe:develop Aug 23, 2021
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