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

[Paywalls V2] Move image mask after sizing #4675

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

joshdholtz
Copy link
Member

@joshdholtz joshdholtz commented Jan 15, 2025

Motivation

Image mask was being clipped

Description

Moved image mask outside of view sizing and clipping

Before After
Screenshot 2025-01-15 at 4 21 01 PM Screenshot 2025-01-15 at 4 21 26 PM

@joshdholtz joshdholtz merged commit 4536ebc into main Jan 15, 2025
9 of 10 checks passed
@joshdholtz joshdholtz deleted the paywalls-v2/fix-image-mask-after-size branch January 15, 2025 22:52
@@ -263,7 +263,7 @@ private struct ConvexShape: Shape {

private var curveHeight: CGFloat {
// Calculate the curve height as a percentage of the view's height
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does diving the curve height in half here do?

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

Successfully merging this pull request may close these issues.

3 participants