Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sketch 85 Compatibility #189

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from
Open

Sketch 85 Compatibility #189

wants to merge 1 commit into from

Conversation

sonburn
Copy link

@sonburn sonburn commented Mar 31, 2022

A few fixes to make the plugin work again, might not be everything but it's the core stuff...

  • Fix for userInfo not being applied to connections group. Removing the pluginIdentifier solved the problem, and it's not necessary Sketch applies the plugin invoking the action as identifier by default.
  • Fix for "doc.selectedLayers().layers is not a function". Dropping .layers() solved the problem.
  • Fix for "Can't find variable: MSLayerArray". Removed MSLayerArray.arrayWithLayers and simply passing the layer objects seems to work fine.
  • Fix for "connectionsGroup.deselectLayerAndParent is not a function". Simply removed this function, without it the user selections are retained despite the folder being added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant