resolved drawing prob.
This commit is contained in:
parent
d6005290db
commit
926c2c4cf3
@ -208,16 +208,12 @@ import UIKit
|
||||
feedbackLabelTrailing = layoutMarginsGuide.trailingAnchor.constraint(equalTo: feedbackLabel.trailingAnchor)
|
||||
feedbackLabelTrailing?.isActive = true
|
||||
layoutMarginsGuide.bottomAnchor.constraint(equalTo: feedbackLabel.bottomAnchor).isActive = true
|
||||
|
||||
setNeedsDisplay()
|
||||
layoutIfNeeded()
|
||||
}
|
||||
|
||||
open override func layoutSubviews() {
|
||||
super.layoutSubviews()
|
||||
|
||||
entryContainer.refreshUI()
|
||||
setNeedsLayout()
|
||||
}
|
||||
|
||||
/// Method to override.
|
||||
|
||||
@ -68,7 +68,7 @@ import UIKit
|
||||
|
||||
if !hideBorder {
|
||||
// Brings the other half of the line inside the view to prevent cropping.
|
||||
let origin = frame.origin
|
||||
let origin = bounds.origin
|
||||
let size = frame.size
|
||||
let insetLean: CGFloat = 0.5
|
||||
borderPath.lineWidth = 1
|
||||
@ -81,8 +81,6 @@ import UIKit
|
||||
borderStrokeColor.setStroke()
|
||||
borderPath.stroke()
|
||||
}
|
||||
|
||||
layoutIfNeeded()
|
||||
}
|
||||
|
||||
override open func setupView() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user