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

Masks inside of variants do not render correctly #905

Open
HooHaa-code opened this issue Mar 29, 2024 · 6 comments
Open

Masks inside of variants do not render correctly #905

HooHaa-code opened this issue Mar 29, 2024 · 6 comments

Comments

@HooHaa-code
Copy link

Having a mask inside of a variant causes the object to render incorrectly:

Rendered

image

Expected

image

example project is attached
Ex4Google-variant-mask.zip

@iamralpht
Copy link
Collaborator

@HooHaa-code is this with 0.22-rc or 0.21? I'm wondering if the layout changes improve matters.

Alternatively, there's a new implementation of masking in main if you enable "SQUOOSH" here:

-- this will break all kinds of other things (lists and grids, content substitution, etc) but it improves some rendering fidelity, e.g.: multiple masks on a single object should work, some basic animations are present, etc.

@HooHaa-code
Copy link
Author

I have '+' set for design compose in libs.versions.toml. So it should be 0.25.0

@iamralpht
Copy link
Collaborator

Ok, I am not sure if that would have gotten you the 0.25.0-rc release (@timothyfroehlich knows how these rules work). We just pushed 0.25.0 to Maven (about 30 minutes ago) so updating dependencies now should definitely pull it in.

@HooHaa-code
Copy link
Author

I guess I assumed that when a release it git hub is made that we would get it though maven. I was wrong in that assumption. I just did a sync and say the 0.25.0 artifacts get pulled in.

The behavior is still the same

@timothyfroehlich
Copy link
Member

timothyfroehlich commented Apr 1, 2024 via email

@rylin8
Copy link
Collaborator

rylin8 commented May 6, 2024

FYI while testing out #1056 I tried enabling squoosh and the mask appeared to render correctly, though component replacements did not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Triage
Development

No branches or pull requests

4 participants