correcting type.

This commit is contained in:
Kevin G Christiano 2019-10-17 12:00:44 -04:00
parent 29ffa40cc3
commit 2fdc4795f4

View File

@ -123,7 +123,7 @@ import MVMCore
private var widthConstraint: NSLayoutConstraint?
/// Updates the height and width anchors of the Checkbox with the assigned value.
public var heigthWidthConstant: Int = Checkbox.defaultHeightWidth {
public var heigthWidthConstant: CGFloat = Checkbox.defaultHeightWidth {
didSet {
heightConstraint?.constant = heigthWidthConstant
widthConstraint?.constant = heigthWidthConstant
@ -140,7 +140,6 @@ import MVMCore
accessibilityTraits = .button
accessibilityHint = MVMCoreUIUtility.hardcodedString(withKey: "checkbox_action_hint")
updateAccessibilityLabel()
setupView()
}