From d255e1ea4ab5a648bf2a76d3384fcada4c3b4d35 Mon Sep 17 00:00:00 2001 From: Shin Yamamoto Date: Mon, 3 Jun 2019 17:02:43 +0900 Subject: [PATCH] Call `super.updateConstraints()' as the final step --- Framework/Sources/FloatingPanelSurfaceView.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Framework/Sources/FloatingPanelSurfaceView.swift b/Framework/Sources/FloatingPanelSurfaceView.swift index 4ef1cb1..876220d 100644 --- a/Framework/Sources/FloatingPanelSurfaceView.swift +++ b/Framework/Sources/FloatingPanelSurfaceView.swift @@ -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() {