fixed bug
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
289353a443
commit
1044282c33
@ -436,9 +436,9 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
|
||||
containerView.removeDropShadows()
|
||||
}
|
||||
|
||||
containerView.dropShadowLayers?.forEach { $0.frame = bounds }
|
||||
containerView.gradientLayers?.forEach { $0.frame = bounds }
|
||||
|
||||
containerView.dropShadowLayers?.forEach { $0.frame = containerView.bounds }
|
||||
containerView.gradientLayers?.forEach { $0.frame = containerView.bounds }
|
||||
|
||||
if width != nil || height != nil {
|
||||
var containerViewWidth: CGFloat?
|
||||
var containerViewHeight: CGFloat?
|
||||
|
||||
@ -714,7 +714,7 @@ extension LayoutConstraintable {
|
||||
let constraints = superview.constraints
|
||||
var leadingPinned = false
|
||||
var trailingPinned = false
|
||||
|
||||
|
||||
for constraint in constraints {
|
||||
if (constraint.firstItem as? UIView == view && constraint.firstAttribute == .leading && constraint.relation == .equal && constraint.secondItem as? UIView == superview) ||
|
||||
(constraint.secondItem as? UIView == view && constraint.secondAttribute == .leading && constraint.relation == .equal && constraint.firstItem as? UIView == superview) ||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user