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

fix: masked element layer opacity when previous item has stroke opacity #2456

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

jakex7
Copy link
Member

@jakex7 jakex7 commented Sep 18, 2024

Summary

On Android when element before masked element has strokeOpacity different from 1, the paint is reused to draw an offscreen layer resulting in wrong opacity. Partially fixes (only on Android) #2449

Test Plan

Add stroke and strokeOpacity to element directly before masked element.

Compatibility

OS Implemented
Android

@jakex7 jakex7 merged commit 9049089 into main Sep 18, 2024
3 of 4 checks passed
@jakex7 jakex7 deleted the @jakex7/fixMaskedElementOpacity branch September 18, 2024 11:14
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

Successfully merging this pull request may close these issues.

1 participant