update height
This commit is contained in:
parent
00d78cfded
commit
e5accc7611
@ -20,9 +20,9 @@ open class DoughnutChart: View, MVMCoreUIViewConstrainingProtocol {
|
||||
var labelContainer = ViewConstrainingView.empty()
|
||||
var heightConstraint: NSLayoutConstraint?
|
||||
|
||||
private var sizeObject = MFStyler.sizeObjectGeneric(forCurrentDevice: 100)!
|
||||
private var sizeObject = MFStyler.sizeObjectGeneric(forCurrentDevice: 150)!
|
||||
|
||||
var height: CGFloat = 100 {
|
||||
var height: CGFloat = 150 {
|
||||
didSet {
|
||||
if height != oldValue {
|
||||
sizeObject = MFStyler.sizeObjectGeneric(forCurrentDevice: height)!
|
||||
|
||||
Loading…
Reference in New Issue
Block a user