-
Notifications
You must be signed in to change notification settings - Fork 792
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
Read-only TextInput text is invisible #6708
Read-only TextInput text is invisible #6708
Conversation
Hi! This comment will help you figure out which jobs to run before merging your PR. The suggestions are dynamic based on what files you have changed. VFX Depending on the scope of your PR, you may need to run more jobs than what has been suggested. Please speak to your lead or a Graphics SDET (#devs-graphics-automation) if you are unsure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, looking good!
Tested:
- operators and blocks
- single and multiple connected operators
- with subgraph operator
- scanned though a large VFX containing all operators and blocks, didn't see any regressions
Thanks for the fix! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good :)
# Conflicts: # com.unity.visualeffectgraph/CHANGELOG.md
…//github.com/Unity-Technologies/Graphics into vfx/fix/1387237-invisible-text-when-disabled # Conflicts: # com.unity.visualeffectgraph/CHANGELOG.md
* Fixed regression due to recent TextInput refactoring in UIToolkit * Updated changelog
Jira ticket: https://jira.unity3d.com/browse/UUM-9227 Original PR: Unity-Technologies#6708 Original FB: https://fogbugz.unity3d.com/f/cases/1387237/ Some recent changes in UIToolkit made our read-only TextInput unreadable because of the opacity being set to all disabled elements in the UI hierarchy instead of only to the leaf. [Before] ![Unity_U8TGh9Wrai](https://user-images.githubusercontent.com/85612173/148914409-6a4176a5-8404-4ad8-add4-839cd9c760d7.gif) [After] ![Unity_Bw1bsbDBeo](https://user-images.githubusercontent.com/85612173/148914554-4f8a0e24-2514-4ffb-ad7e-4191cf73bdea.gif)
Purpose of this PR
https://fogbugz.unity3d.com/f/cases/1387237/
Some recent changes in UIToolkit made our read-only TextInput unreadable because of the opacity being set to all disabled elements in the UI hierarchy instead of only to the leaf.
[Before]
[After]
Testing status
Checked for operators connected together and for operator connected to a block.
Comments to reviewers
The risks are really limited since the change should affect only "ports".