From 7b8ca108d79785165cddc40ecdaf115214b92e6d Mon Sep 17 00:00:00 2001 From: Elias Tykhonkov Date: Sat, 2 Sep 2017 13:33:54 +0300 Subject: [PATCH] fix #39 --- Segmentio/Source/Cells/SegmentioCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Segmentio/Source/Cells/SegmentioCell.swift b/Segmentio/Source/Cells/SegmentioCell.swift index c370468..8cb4199 100644 --- a/Segmentio/Source/Cells/SegmentioCell.swift +++ b/Segmentio/Source/Cells/SegmentioCell.swift @@ -49,7 +49,7 @@ class SegmentioCell: UICollectionViewCell { segmentTitleLabel?.font = isHighlighted ? highlightedState.titleFont : highlightedTitleFont } - backgroundColor = isHighlighted ? highlightedState.backgroundColor : defaultState.backgroundColor + backgroundColor = isHighlighted ? highlightedState.backgroundColor : .clear } } }