-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Make it easier to change background color #716
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
Make it easier to change background color #716
Conversation
|
I don't mind if we pursue a different approach for making it easier to change background color, but it took me a while to figure out how a corresponding (non-graphical) test could look like -- and mainly because I liked the outcome of this process, I opened this PR. |
leotrs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit messy, but I think this is the best we can do for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a suggestion, tell me if you disagree
naveen521kk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
List of Changes
background_colorandbackground_opacityto become properties ofCameracameraproperty toSceneMotivation
This is a suggestion for simplifying the interface for setting the background color in a scene by calling
self.camera.background_color = REDetc, which was briefly discussed in #604.Resolves #604.
Acknowledgement