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

Add 'clear_color' attribute to ui.scene #2963

Merged
merged 3 commits into from
Apr 29, 2024

Conversation

chrschorn
Copy link
Contributor

Adds a way to configure the ui.scene background color

Copy link
Contributor

@falkoschindler falkoschindler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request, @chrschorn! Making the background color configurable is a great idea!

Just one question: You named the parameter clear_color, but always refer to it as "background color". Why not using the name background_color? I'd find it more intuitive.

@falkoschindler falkoschindler added the enhancement New feature or request label Apr 29, 2024
@falkoschindler falkoschindler added this to the 1.4.24 milestone Apr 29, 2024
@chrschorn
Copy link
Contributor Author

I got stuck halfway between the technical term and a user-friendly parameter name 😄 I renamed the user-facing to background_color now

Copy link
Contributor

@falkoschindler falkoschindler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🙂

@falkoschindler falkoschindler merged commit fa38aff into zauberzeug:main Apr 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants