From 4303bd6037fe779f0d26524b1eb0876b4c2decd3 Mon Sep 17 00:00:00 2001 From: Robert Payne Date: Tue, 29 Jul 2014 23:50:50 +1200 Subject: [PATCH] Hotfix to ensure insets are actually used --- Snappy/Constraint.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Snappy/Constraint.swift b/Snappy/Constraint.swift index d54dc42..9361e71 100644 --- a/Snappy/Constraint.swift +++ b/Snappy/Constraint.swift @@ -287,7 +287,7 @@ class Constraint { // MARK: insets func insets(amount: UIEdgeInsets) -> Constraint { - self.insets = amount + self.offset = amount return self }