Skip to content

Commit 3942980

Browse files
bagusandinatabagusandinata
andauthored
fix init own color (#3)
Co-authored-by: bagusandinata <bagus.dinata@erajaya.com>
1 parent 3183ce9 commit 3942980

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ScrollEdgeControl/Library/DonutsIndicatorView.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ public final class DonutsIndicatorView: UIView {
3131
placeholderColor: UIColor(white: 0, alpha: 0.1),
3232
tickColor: UIColor(white: 0, alpha: 0.2)
3333
)
34+
35+
public init(placeholderColor: UIColor, tickColor: UIColor) {
36+
self.placeholderColor = placeholderColor
37+
self.tickColor = tickColor
38+
}
3439
}
3540

3641
// MARK: - Properties

0 commit comments

Comments
 (0)