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

Add UIEdgesInsets extension #148

Merged
merged 3 commits into from
Oct 16, 2023
Merged

Conversation

tinder-garricnahapetian
Copy link
Contributor

No description provided.

@tinder-garricnahapetian tinder-garricnahapetian changed the base branch from main to add-canonical-edge October 16, 2023 21:04
Base automatically changed from add-canonical-edge to main October 16, 2023 21:12
Tests/LayoutTests/UIEdgeInsetsTests.swift Outdated Show resolved Hide resolved
Tests/LayoutTests/UIEdgeInsetsTests.swift Outdated Show resolved Hide resolved
Tests/LayoutTests/UIEdgeInsetsTests.swift Outdated Show resolved Hide resolved
Co-authored-by: Christopher Fuller <[email protected]>
@tinder-garricnahapetian tinder-garricnahapetian merged commit cf1c2a7 into main Oct 16, 2023
@tinder-garricnahapetian tinder-garricnahapetian deleted the add-uiedgeinsets-extension branch October 16, 2023 21:51
Comment on lines +22 to +29
case .top:
return top
case .bottom:
return -bottom
case .left:
return left
case .right:
return -right
Copy link
Collaborator

@tinder-cfuller tinder-cfuller Oct 16, 2023

Choose a reason for hiding this comment

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

Did not catch this until after PR was merged, sorry ...

        case .top:
            return top
        case .left:
            return left
        case .bottom:
            return -bottom
        case .right:
            return -right

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup. On it. Thank you.

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