Call `super.updateConstraints()' as the final step

This commit is contained in:
Shin Yamamoto
2019-06-03 20:51:58 +09:00
parent 6fcb817fb8
commit d255e1ea4a
@@ -149,7 +149,6 @@ public class FloatingPanelSurfaceView: UIView {
}
public override func updateConstraints() {
super.updateConstraints()
containerViewTopInsetConstraint.constant = containerTopInset
containerViewHeightConstraint.constant = bottomOverflow
@@ -161,6 +160,8 @@ public class FloatingPanelSurfaceView: UIView {
grabberHandleTopConstraint.constant = grabberTopPadding
grabberHandleWidthConstraint.constant = grabberHandleWidth
grabberHandleHeightConstraint.constant = grabberHandleHeight
super.updateConstraints()
}
public override func layoutSubviews() {