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

Reset borders #398

Merged
merged 2 commits into from
Feb 1, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ None
- Fix `slide(.out, *)` and `squeeze(.out, *)` translation coordinates [#379](https://github.com/IBAnimatable/IBAnimatable/issues/379)
- Fix `No such module IBAnimatable` when attempting to run the Playground [#251](https://github.com/IBAnimatable/IBAnimatable/issues/251)
- Fix custom presentation animations [#393](https://github.com/IBAnimatable/IBAnimatable/pull/393)

- Fix border state when trying to reset a valid border [#398](https://github.com/IBAnimatable/IBAnimatable/pull/398)

### [3.1.2](https://github.com/IBAnimatable/IBAnimatable/releases/tag/3.1.2)

#### API breaking changes
Expand Down
1 change: 1 addition & 0 deletions IBAnimatable/BorderDesignable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public extension BorderDesignable where Self: UIView {
fileprivate extension BorderDesignable where Self: UIView {
func commonConfigBorder() {
guard borderColor != nil, borderWidth > 0 else {
clearLayer()
return
}

Expand Down