Skip to content

Commit

Permalink
Iterate horizontally
Browse files Browse the repository at this point in the history
  • Loading branch information
koenbok committed May 1, 2016
1 parent ed45094 commit 9fabdcd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions framer/Components/GridComponent.coffee
Expand Up @@ -73,8 +73,8 @@ class exports.GridComponent extends Layer

@_reset()

for column in [@columns-1..0]
for row in [@rows-1..0]
for row in [@rows-1..0]
for column in [@columns-1..0]

frame =
x: @cellX(column)
Expand All @@ -98,4 +98,8 @@ class exports.GridComponent extends Layer
_reset: ->
_.invoke(@cells, "destroy")
@_cells = {}

# copy: ->
# result = super
# result.render()

0 comments on commit 9fabdcd

Please sign in to comment.