Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit a2c7fec

Browse files
Luis PadronLuis Padron
Luis Padron
authored and
Luis Padron
committed
Fix issue #4, view pixelation in tableView cells
- Default background color for view is now UIColor.clear - Update CHANGELOG - Update podspec to 1.1.7
1 parent 7931ac8 commit a2c7fec

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Version 1.1.7
2+
3+
Fix bug where progress bar was pixelated inside of tableView from [issue #4](https://github.com/luispadron/UICircularProgressRing/issues/4)
4+
5+
Thanks to [@DeepAnchor](https://github.com/DeepAnchor) for the fix!
6+
7+
- Default background color for view and layer is now of `UIColor.clear`
8+
19
# Version 1.1.6
210

311
Lower required iOS version to iOS 8.0

UICircularProgressRing.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Pod::Spec.new do |s|
33

44
s.name = "UICircularProgressRing"
5-
s.version = "1.1.6"
5+
s.version = "1.1.7"
66
s.summary = "A highly customizable circular progress bar for iOS written in Swift 3"
77

88
s.description = <<-DESC

UICircularProgressRing/UICircularProgressRingView.swift

+4
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,10 @@ import UIKit
573573
self.ringLayer.customFontWithName = customFontWithName
574574
self.ringLayer.showFloatingPoint = showFloatingPoint
575575
self.ringLayer.decimalPlaces = decimalPlaces
576+
577+
// Sets background color to clear, this fixes a bug when placing view in tableview cells
578+
self.backgroundColor = UIColor.clear
579+
self.ringLayer.backgroundColor = UIColor.clear.cgColor
576580
}
577581

578582
/**

0 commit comments

Comments
 (0)