Browse Source

Hotfix to ensure insets are actually used

Robert Payne 11 years ago
parent
commit
4303bd6037
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Snappy/Constraint.swift

+ 1 - 1
Snappy/Constraint.swift

@@ -287,7 +287,7 @@ class Constraint {
     // MARK: insets
     
     func insets(amount: UIEdgeInsets) -> Constraint {
-        self.insets = amount
+        self.offset = amount
         return self
     }