We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ae41e0f + 9144e95 commit f20e5e0Copy full SHA for f20e5e0
lib/layoutNode.js
@@ -37,7 +37,7 @@ function walkNode (node, parentLeft, parentTop) {
37
node.layer.frame.height = node.layout.height;
38
if (node.children && node.children.length > 0) {
39
node.children.forEach(function (child) {
40
- walkNode(child, node.layout.left, node.layout.top);
+ walkNode(child, node.layer.frame.x, node.layer.frame.y);
41
});
42
}
43
0 commit comments