Last active
July 17, 2018 21:11
-
-
Save felideon/3a887fe99c09100dcc610bfa655ce342 to your computer and use it in GitHub Desktop.
Sketch — Add arrowhead to selected layers
This file contains hidden or 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
var sketch = require('sketch/dom'); | |
var document = sketch.getSelectedDocument(); | |
var selection = document.selectedLayers; | |
selection.forEach(layer => { | |
layer.style.borderOptions.endArrowhead = 'OpenArrow' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment