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

Fix "Load Palette…" option #54

Merged
merged 1 commit into from
Sep 21, 2017

Conversation

kyleweiner
Copy link
Contributor

Works around ccgus/CocoaScript#48, which was preventing the Open panel from appearing on macOS High Sierra 10.13 when selecting the "Load Palette…" option. Prior to this commit, the following error is logged to the Console app when attempting to load a palette:

ObjC method arrayWithObjects: requires 1 argument, but JavaScript passed 2 arguments

Tangentially, since the same array values are used here, perhaps a const ALLOWED_FILE_TYPES = ["sketchpalette"] would be more ideal.

Anyway, thanks for this plugin. I use it whenever I design in Sketch.

Works around ccgus/CocoaScript#48, which was preventing the Open panel from appearing on macOS High Sierra 10.13 when selecting the "Load Palette…" option.
@andrewfiorillo andrewfiorillo merged commit 1da9261 into andrewfiorillo:master Sep 21, 2017
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.

2 participants