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

[BUG] UIWidget does not check if Object is enabled #31

Closed
KingHarley opened this issue Dec 8, 2019 · 0 comments
Closed

[BUG] UIWidget does not check if Object is enabled #31

KingHarley opened this issue Dec 8, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@KingHarley
Copy link
Collaborator

Describe the bug
A clear and concise description of what the bug is.
The UIWidget class does not check whether the object is enabled or disabled before running functionality code

  • The text object of the UIWidget/Button is not enabled/disabled in sync with the shape object thus the text remains on the screen when the underlying shape object of the Widget/Button is disabled

To Reproduce
Steps to reproduce the behavior:

  1. Launch Game
  2. Restart Text will be visible in black in centre of screen during playing of game
  • Clicking on this will restart level even though we would like it to be disabled
  1. Let the rocket get hit by bubble
  2. Collider button now has same issue

Expected behavior
We would like to have SetEnabled disable the text of the widget/button as well as the functionality

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Win10
  • Environment: compiler, build tool: clang + ninja/ Visual Studio
  • Version: (Not sure?)
  • Commit Hash: e368239

Additional context
Add any other context about the problem here.

@KingHarley KingHarley added the bug Something isn't working label Dec 8, 2019
@karnkaul karnkaul self-assigned this Dec 9, 2019
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

No branches or pull requests

2 participants