Skip to content

Commit 686a89d

Browse files
committed
Temporary retract of fix for rotataded layers
1 parent f9c27b8 commit 686a89d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Distributor.sketchplugin/Contents/Sketch/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
]
4141
},
4242
"identifier" : "com.betterthantomorrow.sketch.distributor",
43-
"version" : "1.0.3.1",
43+
"version" : "1.0.3.1b",
4444
"description" : "Distribute selected objects vertically or horizontally with exact spacing.",
4545
"authorEmail" : "[email protected]",
4646
"name" : "Distributor"

Distributor.sketchplugin/Contents/Sketch/script.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ var Distributor = {
5454
},
5555

5656
trimmedLayer: function(layer) {
57-
return MSSliceTrimming.trimmedRectForLayerAncestry(MSImmutableLayerAncestry.ancestryWithMSLayer(layer));
57+
//return MSSliceTrimming.trimmedRectForLayerAncestry(MSImmutableLayerAncestry.ancestryWithMSLayer(layer));
58+
return [layer rect]
5859
},
5960

6061
createChoices: function(msg) {

0 commit comments

Comments
 (0)