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

Use RGBA default caret_color in TextEntry.__init__ #826

Merged
merged 1 commit into from
May 6, 2023

Conversation

pushfoo
Copy link
Contributor

@pushfoo pushfoo commented May 4, 2023

Changes

tl;dr style consistency follow-up to #805 brought to light by #823.

  • Set default caret_color value in TextEntry's __init__ arguments to an RGBA tuple.
  • Update docstring with RGBA & additional caret behavior clarity

How to Test

Run the unit tests & the widgets demo.

@benmoran56 benmoran56 merged commit 0320a0c into pyglet:master May 6, 2023
@pushfoo pushfoo deleted the update_widgets_with_caret_color branch May 10, 2023 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants