Skip to content

Commit

Permalink
Fix "Load Palette…" option
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kyleweiner committed Sep 20, 2017
1 parent ea6cf1b commit 1da9261
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function loadPalette(context) {
var app = NSApp.delegate();
var doc = context.document;
var version = context.plugin.version().UTF8String();
var fileTypes = [NSArray arrayWithObjects:@"sketchpalette",nil];
var fileTypes = ["sketchpalette"];

// Open file picker to choose palette file
var open = NSOpenPanel.openPanel();
Expand Down

0 comments on commit 1da9261

Please sign in to comment.