Commit f7dbffeb by Daniel Dahan

editor: issue-588: removed memory leaks that surround Grid

parent 17269950
...@@ -52,7 +52,7 @@ public struct GridAxis { ...@@ -52,7 +52,7 @@ public struct GridAxis {
- Parameter rows: The number of rows, vertical axis the grid will use. - Parameter rows: The number of rows, vertical axis the grid will use.
- Parameter columns: The number of columns, horizontal axis the grid will use. - Parameter columns: The number of columns, horizontal axis the grid will use.
*/ */
public init(rows: Int = 12, columns: Int = 12) { internal init(rows: Int = 12, columns: Int = 12) {
self.rows = rows self.rows = rows
self.columns = columns self.columns = columns
} }
...@@ -70,7 +70,7 @@ public struct GridOffset { ...@@ -70,7 +70,7 @@ public struct GridOffset {
- Parameter rows: The number of rows, vertical axis the grid will use. - Parameter rows: The number of rows, vertical axis the grid will use.
- Parameter columns: The number of columns, horizontal axis the grid will use. - Parameter columns: The number of columns, horizontal axis the grid will use.
*/ */
public init(rows: Int = 0, columns: Int = 0) { internal init(rows: Int = 0, columns: Int = 0) {
self.rows = rows self.rows = rows
self.columns = columns self.columns = 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