Skip to content

Conversation

@pushfoo
Copy link
Member

@pushfoo pushfoo commented May 7, 2023

Changes

tl;dr minor clarity improvements discovered during work on a follow-up to #1750

  1. Clean up UIDummy top-level docstring
  2. Fix a PyCharm linter highlight by adding UIDummy to an __all__ list
  3. Use Color.random(a=255) instead of inlined RGB tuple generation

How to test

  1. python -m arcade.gui.examples.box_layout
  2. Make sure UIDummy instances still change colors when clicked
  3. Make sure UIDummy instances still print their rect values to the terminal when clicked

Follow-ups

I'll be submitting another PR containing docstring fixes for the GUI examples later.

@pvcraven pvcraven merged commit 1378a25 into pythonarcade:development May 7, 2023
@pushfoo pushfoo deleted the uidummy_touchups branch May 7, 2023 04:30
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.

2 participants