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
|
// MARK: insets
|
||||||
|
|
||||||
func insets(amount: UIEdgeInsets) -> Constraint {
|
func insets(amount: UIEdgeInsets) -> Constraint {
|
||||||
self.insets = amount
|
self.offset = amount
|
||||||
return self
|
return self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue