small fixes

This commit is contained in:
Pfeil, Scott Robert 2019-11-25 16:01:43 -05:00
parent 8be65d4f57
commit 392ab144ac
2 changed files with 2 additions and 4 deletions

View File

@ -93,8 +93,8 @@ public struct GraphObject {
mutating func updateSize() {
switch size {
case .small:
diameter = MFSizeObject(standardSize: 24)?.getValueBasedOnApplicationWidth() ?? 24
lineWidth = MFSizeObject(standardSize: 5)?.getValueBasedOnApplicationWidth() ?? 5
diameter = MFSizeObject(standardSize: 20)?.getValueBasedOnApplicationWidth() ?? 20
lineWidth = MFSizeObject(standardSize: 4)?.getValueBasedOnApplicationWidth() ?? 4
break
case .medium:
diameter = MFSizeObject(standardSize: 100)?.getValueBasedOnApplicationWidth() ?? 100

View File

@ -38,8 +38,6 @@ import UIKit
case .none:
heightConstraint?.constant = 0
}
setNeedsLayout()
layoutIfNeeded()
}
}