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

Silent failure with misspelled theme keys #639

Open
oddron opened this issue Oct 11, 2024 · 0 comments · May be fixed by #640
Open

Silent failure with misspelled theme keys #639

oddron opened this issue Oct 11, 2024 · 0 comments · May be fixed by #640
Labels
bug Something isn't working

Comments

@oddron
Copy link

oddron commented Oct 11, 2024

In theme files, if "colours" is spelled "colors", then color records are ignored with no errors or warnings

To Reproduce
Steps to reproduce the behaviour:

  1. Follow the quick start guide (https://pygame-gui.readthedocs.io/en/latest/quick_start_theming.html)
  2. In quick_start.json, type "colors" (with an American spelling) instead of "colours"
  3. Observe that the colors in the theme file are not being applied

Expected behaviour
The program should either reject the American spelling with a message or accept the the American spelling and apply theme colors as configured.

Platform and software (please complete the following information):

  • OS: Windows
  • Pygame GUI version 0.6.12
  • Pygame-ce version 2.5.1
@oddron oddron added the bug Something isn't working label Oct 11, 2024
@oddron oddron linked a pull request Oct 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant