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

InfoBox doesn't update visibility immediately if showif condition changes #109

Open
aaronatweta opened this issue Apr 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@aaronatweta
Copy link

Describe the bug
Add an InfoBox attribute to a field.
Give the InfoBox a 'showif' parameter
Observe showif is initially respected.
Change state such that showif result would change
Observe the visibility of the InfoBox does not change until you navigate away or cause some other update of the inspector

Expected behavior
Changing the state such that the showif result would change should update visibility immediately.

Code Sample

[InfoBox("Some message", TriMessageType.Info, "$SomeConditionCheck")]
private int field;

Desktop: Windows 10
Unity version: 2021.1.24
Tri Inspector version: 1.10.1

@aaronatweta aaronatweta added the bug Something isn't working label Apr 26, 2023
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

1 participant