rearranged comments

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-08-07 16:43:14 -05:00
parent 6c4fb1c5ba
commit d4e7d7476d

View File

@ -315,14 +315,14 @@ open class InputStepper: EntryFieldBase<Int> {
} }
internal override func updateContainerWidth() { internal override func updateContainerWidth() {
//we are not calling super here since
//we are changing how the widths are getting calculated
//now by including a percentage.
defer { defer {
fieldStackView.layer.cornerRadius = containerSize.height / 2 fieldStackView.layer.cornerRadius = containerSize.height / 2
} }
//we are not calling super here since
//we are changing how the widths are getting calculated
//now by including a percentage.
stepperWidthConstraint?.deactivate() stepperWidthConstraint?.deactivate()
widthConstraint?.deactivate() widthConstraint?.deactivate()
trailingLessThanEqualsConstraint?.deactivate() trailingLessThanEqualsConstraint?.deactivate()