Closed jacopocolo closed 6 years ago
The problem is clearly related to the way color is assigned to text. Will investigate
if (drawingContext.hasFill() == true) {
textLayer.textColor = drawingContext.fillColor();
}
if (drawingContext.hasStroke() == true) {
var border = textLayer.style().addStylePartOfType(1);
border.color = drawingContext.strokeColor();
border.thickness = drawingContext.strokeThikness();
var borderOptions = textLayer.style().borderOptions();
}````
Fixed in 1.1.0
Not sure why yet but running any type of text() crashes the plugin AND Sketch 48 beta 3.