correcting type.
This commit is contained in:
parent
29ffa40cc3
commit
2fdc4795f4
@ -123,7 +123,7 @@ import MVMCore
|
|||||||
private var widthConstraint: NSLayoutConstraint?
|
private var widthConstraint: NSLayoutConstraint?
|
||||||
|
|
||||||
/// Updates the height and width anchors of the Checkbox with the assigned value.
|
/// 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 {
|
didSet {
|
||||||
heightConstraint?.constant = heigthWidthConstant
|
heightConstraint?.constant = heigthWidthConstant
|
||||||
widthConstraint?.constant = heigthWidthConstant
|
widthConstraint?.constant = heigthWidthConstant
|
||||||
@ -140,7 +140,6 @@ import MVMCore
|
|||||||
accessibilityTraits = .button
|
accessibilityTraits = .button
|
||||||
accessibilityHint = MVMCoreUIUtility.hardcodedString(withKey: "checkbox_action_hint")
|
accessibilityHint = MVMCoreUIUtility.hardcodedString(withKey: "checkbox_action_hint")
|
||||||
updateAccessibilityLabel()
|
updateAccessibilityLabel()
|
||||||
|
|
||||||
setupView()
|
setupView()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user