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 to allow single sided borders #150

Merged
merged 1 commit into from Apr 3, 2016
Merged

fix to allow single sided borders #150

merged 1 commit into from Apr 3, 2016

Conversation

seanwoodward
Copy link
Contributor

No description provided.

return
}

if borderWidth.isNaN || borderWidth <= 0 {
clearBorders()
return
}
Copy link
Member

Choose a reason for hiding this comment

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

Since the guard and the if are doing the thing, couldn't we merge them?

@tbaranes
Copy link
Member

tbaranes commented Apr 1, 2016

Nice catch 👍
I made a minor feedback just to improve that implementation, but looks good!

I'm gonna let @JakeLin make the final review 👯

@JakeLin
Copy link
Member

JakeLin commented Apr 2, 2016

Good one, 👍

agree with @tbaranes , it is better to group them within one. Can we optimise that in this PR as well? Thanks.

@JakeLin JakeLin added this to the 2.2 milestone Apr 2, 2016
@JakeLin
Copy link
Member

JakeLin commented Apr 2, 2016

@seanwoodward thanks again for your PR, do you have time to make the last change according to @tbaranes 's comment? Or we can merge this PR then make the change after. We are about to release 2.2, 😉 thanks.

@tbaranes
Copy link
Member

tbaranes commented Apr 2, 2016

I think we can merge it. We can handle that comment, or even do it directly in master since it's not a big change.

@JakeLin JakeLin merged commit f8a9b68 into IBAnimatable:master Apr 3, 2016
@JakeLin
Copy link
Member

JakeLin commented Apr 3, 2016

@seanwoodward thanks again for your PR. @tbaranes working on release 2.2 now.

@JakeLin JakeLin mentioned this pull request Apr 3, 2016
@seanwoodward seanwoodward deleted the BorderFix branch April 8, 2016 13:34
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.

None yet

3 participants