diff --git a/Snappy/Constraint.swift b/Snappy/Constraint.swift index bbb555c..34578a4 100644 --- a/Snappy/Constraint.swift +++ b/Snappy/Constraint.swift @@ -528,9 +528,9 @@ private extension NSLayoutAttribute { } else if self == .Top { return insets.top } else if self == .Right { - return insets.right + return -insets.right } else if self == .Bottom { - return insets.bottom + return -insets.bottom } }