Open mgaert opened 11 years ago
While I had not verified your code, I think you should use only the Set API defined on the reference. The reference never say a set is an js array. I can be mistaken but also you shouldn't use aSet[i] for getting a set item. http://raphaeljs.com/reference.html#Set
Try to get the set size not using aSet.length but using something like the following.
/**
Then if you can reproduce your but that aSet.size() operation instead using aSet.length then this is a bug.
Hi @all
Is it correct or not? The element length of a set in VML is larger than in SVG.
Example:
raphael.papaer.setStart(); raphael.papaer.path(path1); raphael.papaer.circle(0, 0, 5); raphael.papaer.circle(1,1, 5); var obj = raphael.papaer.setFinish();
VML: obj.length = 5 SVG: obj.length = 3
I think the circles are included twice in VML mode.
Yours mgaert