mirror of https://github.com/SnapKit/SnapKit
Hotfix to ensure insets are actually used
This commit is contained in:
parent
fe32791d67
commit
4303bd6037
|
@ -287,7 +287,7 @@ class Constraint {
|
|||
// MARK: insets
|
||||
|
||||
func insets(amount: UIEdgeInsets) -> Constraint {
|
||||
self.insets = amount
|
||||
self.offset = amount
|
||||
return self
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue