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] Add masking (concave, convex, circle) and padding/margin to image #4674

Merged
merged 4 commits into from
Jan 15, 2025

Conversation

joshdholtz
Copy link
Member

Motivation

Image was missing a bunch of properties in its rendering

Description

  • Mask
    • Replaced pill with circle
    • Added concave and convex
  • Add padding and margin
Circle Convex Concave
Screenshot 2025-01-15 at 12 07 25 PM Screenshot 2025-01-15 at 11 57 30 AM Screenshot 2025-01-15 at 11 57 42 AM

Copy link
Member

@JayShortway JayShortway left a comment

Choose a reason for hiding this comment

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

Good to get these in! 2 comments on consistency with the other platforms.

Comment on lines -199 to +200
case .pill:
return .pill
case .circle:
return .circle
Copy link
Member

Choose a reason for hiding this comment

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

Android supports both pill and circle. Can Pill be removed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup yup, you can remove pill! Dashboard only has circle 👍

Copy link
Member

Choose a reason for hiding this comment

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

@joshdholtz joshdholtz merged commit e28f028 into main Jan 15, 2025
10 checks passed
@joshdholtz joshdholtz deleted the paywalls-v2/image-masking branch January 15, 2025 21:24
This was referenced Jan 21, 2025
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.

2 participants