Skip to content

Instantly share code, notes, and snippets.

@grefel
Created July 31, 2019 13:10
Show Gist options
  • Save grefel/80941baedd0dddf62988a5d5f5176064 to your computer and use it in GitHub Desktop.
Save grefel/80941baedd0dddf62988a5d5f5176064 to your computer and use it in GitHub Desktop.
Reset Spread Rotation
var matrice = app.transformationMatrices.add(1,1,0,0,0,0);
spread.transform(CoordinateSpaces.PASTEBOARD_COORDINATES, AnchorPoint.CENTER_ANCHOR, matrice, [MatrixContent.ROTATION_VALUE, MatrixContent.SCALE_VALUES, MatrixContent.SHEAR_VALUE]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment