Skip to content

Commit

Permalink
Call `super.updateConstraints()' as the final step
Browse files Browse the repository at this point in the history
  • Loading branch information
scenee committed Jun 3, 2019
1 parent 6fcb817 commit d255e1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Framework/Sources/FloatingPanelSurfaceView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ public class FloatingPanelSurfaceView: UIView {
}

public override func updateConstraints() {
super.updateConstraints()
containerViewTopInsetConstraint.constant = containerTopInset
containerViewHeightConstraint.constant = bottomOverflow

Expand All @@ -161,6 +160,8 @@ public class FloatingPanelSurfaceView: UIView {
grabberHandleTopConstraint.constant = grabberTopPadding
grabberHandleWidthConstraint.constant = grabberHandleWidth
grabberHandleHeightConstraint.constant = grabberHandleHeight

super.updateConstraints()
}

public override func layoutSubviews() {
Expand Down

0 comments on commit d255e1e

Please sign in to comment.