Skip to content

Commit

Permalink
2.04 update
Browse files Browse the repository at this point in the history
Updates and fixes to work with Sketch 50.
Now supports Sketch Runner http://www.sketchrunner.com
  • Loading branch information
design4use committed May 20, 2018
1 parent 3fa3a7d commit 7b8d3cb
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 16 additions & 6 deletions gb-segmented_circle.sketchplugin/Contents/Sketch/manifest.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author" : "German Bauer",
"authorEmail" : "design4use@gmail.com",
"homepage": "https://github.com/",
"version" : "2.03",
"version" : "2.04",
"identifier" : "com.germanbauer.gb-segmented_circle",
"compatibleVersion": "3.4",
"bundleVersion": "1",
Expand All @@ -15,35 +15,45 @@
"shortcut" : "ctrl shift 0",
"name" : "Create Segmented Circle",
"handler" : "c_seg",
"identifier" : "item_seg"
"identifier" : "item_seg",
"description" : "Create a circle with even segments.",
"icon" : "icns/icn_seg.png"
},
{
"script" : "myScript.cocoascript",
"shortcut" : "",
"name" : "Create Variable Segments Circle",
"handler" : "c_var",
"identifier" : "item_var"
"identifier" : "item_var",
"description" : "Create a circle with variable segments controlled by numbers.",
"icon" : "icns/icn_var.png"
},
{
"script" : "myScript.cocoascript",
"shortcut" : "",
"name" : "Create Tickmarks Circle",
"handler" : "c_tix",
"identifier" : "item_tix"
"identifier" : "item_tix",
"description" : "Create a gauge with multiple levels of tickmarks.",
"icon" : "icns/icn_tix.png"
},
{
"script" : "myScript.cocoascript",
"shortcut" : "",
"name" : "Create Dashed Circle",
"handler" : "c_dsh",
"identifier" : "item_dsh"
"identifier" : "item_dsh",
"description" : "Create a circle with even dash pattern.",
"icon" : "icns/icn_dsh.png"
},
{
"script" : "myScript.cocoascript",
"shortcut" : "",
"name" : "Reset to Defaults",
"handler" : "resetToDef",
"identifier" : "item_defaults"
"identifier" : "item_defaults",
"description" : "Reset saved value to factory defaults.",
"icon" : "icns/icn_res.png"
}
],
"menu" : {
Expand Down
3 changes: 3 additions & 0 deletions gb-segmented_circle.sketchplugin/Contents/Sketch/myScript.cocoascript
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ var makeArcSeg = function(angStart, angEnd, rSeg, nThick){
}
[path closePath]
}
if(sv >= 50000) {
path = MSPath.pathWithBezierPath(path); //update for 50
}
return MSShapeGroup.shapeWithBezierPath(path);
}

Expand Down
Binary file modified icns/icn_dsh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icns/icn_plug-064.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icns/icn_plug-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icns/icn_res.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icns/icn_seg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icns/icn_tix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icns/icn_var.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7b8d3cb

Please sign in to comment.