Skip to content
This repository has been archived by the owner on Dec 5, 2018. It is now read-only.

Commit

Permalink
Sketch 3.9 compatibility fix
Browse files Browse the repository at this point in the history
- Fixing an issue that caused the `Export to Zeplin` command to fail
  • Loading branch information
nefaurk committed Jul 20, 2016
1 parent 46c5f5e commit e45fb5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Khan Academy.sketchplugin/Contents/Sketch/export.cocoascript
Expand Up @@ -131,8 +131,8 @@ var createMaskedGroupFromArtboard = function(artboard) {
shape.setName("Mask");

artboard.insertLayers_atIndex([shape], 0);

var layersToMask = artboard.layers().array();
var layersToMask = artboard.layers();
var maskedGroup = MSMaskWithShape.createMaskWithShapeFromMultipleLayers(MSLayerArray.arrayWithLayers(layersToMask));
maskedGroup.setName(artboard.name());

Expand Down

0 comments on commit e45fb5d

Please sign in to comment.