Commit 89833757 by Daniel Dahan

development: updated Grid to use .any for all directions rather than .none

parent 3dcb541f
...@@ -32,7 +32,7 @@ import UIKit ...@@ -32,7 +32,7 @@ import UIKit
@objc(GridAxisDirection) @objc(GridAxisDirection)
public enum GridAxisDirection: Int { public enum GridAxisDirection: Int {
case none case any
case horizontal case horizontal
case vertical case vertical
} }
...@@ -236,7 +236,7 @@ public class Grid { ...@@ -236,7 +236,7 @@ public class Grid {
n += r + ro - 1 n += r + ro - 1
case .none: case .any:
let r = child.grid.rows let r = child.grid.rows
let ro = child.grid.offset.rows let ro = child.grid.offset.rows
let c = child.grid.columns let c = child.grid.columns
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment