Skip to content

Add UIFocusMixin do_post_render None widget handling #2605

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

Conversation

csd4ni3l
Copy link
Contributor

@csd4ni3l csd4ni3l commented Mar 8, 2025

  • Adds a None check to do_post_render, so it doesnt crash when trying to access the widget's rect if the widget is None

- Adds a None check to do_post_render, so it doesnt crash when trying to access the widget's rect if the widget is None
@eruvanos eruvanos merged commit 8bb02d9 into pythonarcade:gui/controller Mar 8, 2025
@csd4ni3l csd4ni3l deleted the csd4ni3l-fix-focus-render-none-handling branch March 8, 2025 09:44
eruvanos pushed a commit that referenced this pull request Mar 9, 2025
- Adds a None check to do_post_render, so it doesnt crash when trying to access the widget's rect if the widget is None
eruvanos pushed a commit that referenced this pull request Mar 22, 2025
- Adds a None check to do_post_render, so it doesnt crash when trying to access the widget's rect if the widget is None
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