Created
April 24, 2019 13:30
-
-
Save sonburn/44a91ed9583b6b03de22e34ca22c4e18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sketch = require('sketch'); | |
const document = sketch.getSelectedDocument(); | |
const selection = document.selectedLayers; | |
selection.forEach(layer => layer.sketchObject.fixGeometryWithOptions(0)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment