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 issue where rounded corners algorithm would return incorrect path for shapes without any rounded corners #1964

Merged
merged 2 commits into from
Feb 17, 2023

Conversation

calda
Copy link
Member

@calda calda commented Feb 17, 2023

This PR fixes an issue where the rounded corners algorithm used in #1795 would return an incorrect path for shapes that don't actually have any rounded corners.

Before After
Simulator Screen Shot - iPhone 8 - 2023-02-17 at 11 49 41 Simulator Screen Shot - iPhone 8 - 2023-02-17 at 11 49 54

@calda calda requested a review from thedrick February 17, 2023 20:17
Copy link
Contributor

@thedrick thedrick left a comment

Choose a reason for hiding this comment

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

LGTM @calda

@calda calda enabled auto-merge (squash) February 17, 2023 20:20
@calda calda merged commit 951be44 into master Feb 17, 2023
@calda calda deleted the cal--rounded-corner-bug branch February 17, 2023 21:24
iago849 pushed a commit to atteamapps/lottie-ios that referenced this pull request Feb 8, 2024
MoroziOS pushed a commit to MoroziOS/tmg-lottie-ios that referenced this pull request May 22, 2024
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.

2 participants