Skip to content

Commit

Permalink
Bug Fixes to work in the new Sketch v50
Browse files Browse the repository at this point in the history
  • Loading branch information
sureskumar committed May 12, 2018
1 parent 09ec904 commit 1741671
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Single-Border.sketchplugin/Contents/Sketch/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Single Border",
"identifier": "com.sureskumar.singleborder",
"version": "1.3.0",
"version": "1.4.0",
"compatibleVersion": "40.0",
"appcast": "http://www.sureskumar.com/singleborder/singleborder.xml",
"description": "Add single borders with advanced controls.",
Expand Down
4 changes: 3 additions & 1 deletion Single-Border.sketchplugin/Contents/Sketch/scripts/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,9 @@ MD.extend({
path.closePath();


var shape = MSShapeGroup.shapeWithBezierPath(path);
//var shape = MSShapeGroup.shapeWithBezierPath(path);
var newBezier = MSPath.pathWithBezierPath(path);
var shape = MSShapeGroup.shapeWithBezierPath(newBezier);
var border = shape.style().addStylePartOfType(0);

var color1 = MSColor.colorWithRed_green_blue_alpha(0.6, 0.6, 0.6, 1.0);
Expand Down
Empty file.
Empty file.

0 comments on commit 1741671

Please sign in to comment.