Skip to content

Instantly share code, notes, and snippets.

@uhunkler
uhunkler / sketch-empty-selection-bug.jstalk
Last active August 29, 2015 13:57
Empty selection bug - Sketch 2.4.3 - OS X 10.9.2
doc.showMessage('sel: ' + selection.length());
log(selection.length());
for (var i = 0; i < selection.length(); i++)
{
var layer = selection[i];
log(layer);
}