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

Fixed issue where UIWidget couldn't be reselected #1827

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

TyelorD
Copy link
Contributor

@TyelorD TyelorD commented Apr 16, 2024

Describe your changes

If a UIWidget gets focus, and then loses focus (but another UIWidget doesn't gain focus when it does so). Then that original UIWidget cannot be re-focused until a different UIWidget gets focus first. This change fixes this problem.

Issue ticket number and link

N/A

Checklist before requesting a review

For each PR

  • Add Copyright if it missed:
    - "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

  • I have performed a self-review of my code.

    Optional:

    • I have checked readme and add important infos to this PR.
    • I have added/adapted some tests too.

For core/new feature PR

  • I have checked readme and add important infos to this PR.
  • I have added thorough tests.

If a UIWidget gets focus, and then loses focus (but another UIWidget doesn't gain focus when it does so). Then that original UIWidget cannot be re-focused until a different UIWidget gets focus first.
@halx99 halx99 merged commit 4f343c4 into axmolengine:dev Apr 17, 2024
14 of 15 checks passed
@halx99 halx99 added this to the 2.1.3 milestone Apr 17, 2024
@halx99 halx99 added the bug Something isn't working label Apr 17, 2024
@TyelorD TyelorD deleted the fix-uiwidget-refocus branch April 17, 2024 19:29
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 this pull request may close these issues.

2 participants