Skip to content

Commit

Permalink
Update Export Symbols.sketchplugin
Browse files Browse the repository at this point in the history
  • Loading branch information
bomberstudios authored Aug 26, 2016
1 parent 14e878d commit 8d0bb24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Export Symbols.sketchplugin
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if(Object.keys(allSymbols).length == 0){
var currentSymbol = allSymbols[currentID],
symbolName = [currentSymbol name],
exportFilename = document_path + "/" + symbolName + ".png",
slice = [[MSSliceMaker slicesFromExportableLayer:currentSymbol] firstObject]
slice = [[MSExportRequest exportRequestsFromExportableLayer:currentSymbol] firstObject]

slice.page = [[doc currentPage] copyLightweight]
slice.format = "png"
Expand Down

0 comments on commit 8d0bb24

Please sign in to comment.