textLayer-for-Framer icon indicating copy to clipboard operation
textLayer-for-Framer copied to clipboard

Copying converted text layers via copy() resets text color to 'red'

Open sigtm opened this issue 8 years ago • 0 comments

First off, great module, I use it extensively! I've noticed that if I convert a Sketch layer with convertToTextLayer(), I have to do layer.color = layer.style.color in order to prevent the text from being set to 'red' if I copy it via layer.copy(). Not sure if this also applies to other CSS styles, but I also noticed that a converted text layer does not keep the original layer's index in the layer list.

sigtm avatar May 10 '16 12:05 sigtm