Skip to content

Commit

Permalink
Fix stack error (were reversed)
Browse files Browse the repository at this point in the history
  • Loading branch information
s4cha committed Feb 20, 2016
1 parent 6fa4970 commit ff6dfcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Stevia/Stevia/Stevia/Source/Stevia+Stacks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ public extension UIView {

private func tryStackViewHorizontallyWithPreviousView(view:UIView, index:Int,objects:[AnyObject]) {
if let pv = previousViewFromIndex(index, objects: objects) {
pv.stackV(v: view)
pv.stackH(v: view)
}
}

private func tryStackViewVerticallyWithPreviousView(view:UIView, index:Int,objects:[AnyObject]) {
if let pv = previousViewFromIndex(index, objects: objects) {
pv.stackH(v: view)
pv.stackV(v: view)
}
}

Expand Down

0 comments on commit ff6dfcf

Please sign in to comment.