Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
Material
Commits
d200c0b3
Commit
d200c0b3
authored
Aug 15, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
development: Updated grid.axis.inherited to grid.axis.isInherited.
parent
b53376dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Sources/iOS/Grid.swift
+3
-3
No files found.
Sources/iOS/Grid.swift
View file @
d200c0b3
...
@@ -42,7 +42,7 @@ public class GridAxis {
...
@@ -42,7 +42,7 @@ public class GridAxis {
unowned
var
grid
:
Grid
unowned
var
grid
:
Grid
/// Inherit grid rows and columns.
/// Inherit grid rows and columns.
public
var
inherited
:
Bool
=
false
public
var
i
sI
nherited
:
Bool
=
false
/// The direction the grid lays its views out.
/// The direction the grid lays its views out.
public
var
direction
:
GridAxisDirection
=
.
horizontal
public
var
direction
:
GridAxisDirection
=
.
horizontal
...
@@ -196,8 +196,8 @@ public class Grid {
...
@@ -196,8 +196,8 @@ public class Grid {
/// Reload the button layout.
/// Reload the button layout.
public
func
reload
()
{
public
func
reload
()
{
let
gc
=
axis
.
inherited
?
columns
:
axis
.
columns
let
gc
=
axis
.
i
sI
nherited
?
columns
:
axis
.
columns
let
gr
=
axis
.
inherited
?
rows
:
axis
.
rows
let
gr
=
axis
.
i
sI
nherited
?
rows
:
axis
.
rows
var
n
:
Int
=
0
var
n
:
Int
=
0
for
i
in
0
..<
views
.
count
{
for
i
in
0
..<
views
.
count
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment