Skip to content

Commit

Permalink
fix(valid-shapes): remove instance type from valid shapes
Browse files Browse the repository at this point in the history
closes #5
  • Loading branch information
ph1p committed Feb 8, 2020
1 parent dc2a4f3 commit ce2a522
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ const isValidShape = node =>
node.type === 'VECTOR' ||
node.type === 'FRAME' ||
node.type === 'COMPONENT' ||
node.type === 'INSTANCE' ||
node.type === 'POLYGON';

async function createLineFromMessage({
Expand Down

2 comments on commit ce2a522

@whjvenyl
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this changed? I'm frequently using instances in my designs such that most of the measures occure on them

@ph1p
Copy link
Owner Author

@ph1p ph1p commented on ce2a522 Feb 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for reaching out! I'll add it back as soon as possible, but sometimes the plugin won't start, because of some bugs with this type of node.

Please sign in to comment.