Merge pull request #65 from Yalantis/fix/cell-highlited-color-changes-1

fix #39
This commit is contained in:
Elias Tykhonkov 2017-09-02 13:35:08 +03:00 committed by GitHub
commit acfd59e56c
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class SegmentioCell: UICollectionViewCell {
segmentTitleLabel?.font = isHighlighted ? highlightedState.titleFont : highlightedTitleFont
}
backgroundColor = isHighlighted ? highlightedState.backgroundColor : defaultState.backgroundColor
backgroundColor = isHighlighted ? highlightedState.backgroundColor : .clear
}
}
}