-
Notifications
You must be signed in to change notification settings - Fork 21
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
Image always stored with white background #62
Comments
This is an issue when you have an active dark theme. The problem is that, while the Modeling SDK gives override capability for almost everything, the background of a stored image isn't one of them, and is set in a private method in the Diagram class. To work around it, I've had to temporarily set the theme for a white background while the image is drawn. That will change the colors of all the elements to their defaults for a light background, but I don't see how to get around this without essentially a copy/paste of most of the Diagram class into my derived class and that's a really Bad Thing to do. |
Is it possible to use reflection to call the private method? |
From a marketplace comment:
The text was updated successfully, but these errors were encountered: