Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Iterate horizontally
- Loading branch information
Showing
with
6 additions
and
2 deletions.
-
+6
−2
framer/Components/GridComponent.coffee
|
@@ -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) |
|
@@ -98,4 +98,8 @@ class exports.GridComponent extends Layer |
|
|
_reset: -> |
|
|
_.invoke(@cells, "destroy") |
|
|
@_cells = {} |
|
|
|
|
|
# copy: -> |
|
|
# result = super |
|
|
# result.render() |
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.