Skip to content

Commit

Permalink
handle artboard as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour committed Oct 23, 2018
1 parent 9f83b17 commit 23dd2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/my-command.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function getOptionsFromLayer(layer) {
}

function makeRough(layer) {
if (layer.type === 'Group') {
if (layer.type === 'Group' || layer.type === 'Artboard') {
layer.layers.forEach(makeRough)
return
}
Expand Down

0 comments on commit 23dd2b7

Please sign in to comment.