Page 1 of 1

Issue in Stdlib.isLayerSelected

Posted: Fri Sep 17, 2010 3:12 am
by myranalis
Found a minor issue in this function that appears to still be present in the latest version of the library ( http://ps-scripts.cvs.sourceforge.net/v ... iew=markup ... iew=markup)

Code: Select allStdlib.isLayerSelected = function(doc, layer) {
   var selLayers = Stdlib.getSelectedLayers(doc, true);
   return sel.contains(layer);
 };

Should instead be
Code: Select all return selLayers .contains(layer);


Issue in Stdlib.isLayerSelected

Posted: Fri Sep 17, 2010 6:02 am
by xbytor
Oops. Too much copypasta

I'll get the mod rolled in shortly.

Thanx,

-X