Make diameter default value to 64 consistent with the default small size diameter value.
This commit is contained in:
parent
53c4bd6c46
commit
5cbd472a2d
@ -16,7 +16,7 @@ import UIKit
|
|||||||
}
|
}
|
||||||
|
|
||||||
var viewWidth: CGFloat {
|
var viewWidth: CGFloat {
|
||||||
graphModel?.diameter ?? CGFloat(84)
|
graphModel?.diameter ?? CGFloat(64)
|
||||||
}
|
}
|
||||||
|
|
||||||
private var progressLayer = CAShapeLayer()
|
private var progressLayer = CAShapeLayer()
|
||||||
|
|||||||
@ -21,7 +21,7 @@ public class CircularProgressBarModel: MoleculeModelProtocol {
|
|||||||
updateSize()
|
updateSize()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public var diameter: CGFloat? = 84
|
public var diameter: CGFloat? = 64
|
||||||
public var lineWidth: CGFloat? = 4
|
public var lineWidth: CGFloat? = 4
|
||||||
public var duration : Double? = 1.0
|
public var duration : Double? = 1.0
|
||||||
public var color: Color? = Color(uiColor: UIColor.mfGet(forHex: "#007AB8"))
|
public var color: Color? = Color(uiColor: UIColor.mfGet(forHex: "#007AB8"))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user