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

The color picker is invisible behind a mask, e.g. a ScrollView mask #3

Open
Assambra opened this issue Aug 19, 2023 · 1 comment
Open

Comments

@Assambra
Copy link

Thanks for the nice color picker.
There is may be a bug, if you use the color picker in a scroll view, it becomes invisible if you deactivate the mask image, the color picker becomes visible again.

@Doddler
Copy link

Doddler commented Aug 12, 2024

I've looked into this and the fix is to replace all .material with .materialForRendering in ColorPicker.cs. The reasoning is that apparently a copy of the material is made when masks are involved, so you need to use .materialForRendering to access the correct shader.

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

No branches or pull requests

2 participants