Hotfix to ensure insets are actually used

This commit is contained in:
Robert Payne 2014-07-29 23:50:50 +12:00
parent fe32791d67
commit 4303bd6037
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }