In the meantime, I've being using this tweak locally. But I haven't delved
into the underlying reason why a separate clipCounter was being used for
clip ids.
lively.scene.Clip.addMethods({
initialize : function(shape) {
this.rawNode = NodeFactory.create('clipPath');
//this.setId(String(this.constructor.clipCounter ++));
this.setId(this.newId());
this.setClipShape(shape);
}
});
Phil
On Fri, Apr 17, 2009@8:34 AM, Jens Lincke <
[hidden email]
> wrote:
> Hi, Dan
>
> Can we put int the MathUuid.js? It solves the duplicated ids problem and
> has a BSD like license, so it is compatible with our MIT license.
>
> UUIDs fixes the problem of wrong clipping rects, that you can see if you
> open any widget in a saved page.
>
> Greetings,
>
> Jens
>
>
>
>
>
> _______________________________________________
> General mailing list
>
[hidden email]
>
http://livelykernel.sunlabs.com/mailman/listinfo/general>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://livelykernel.sunlabs.com/pipermail/general/attachments/20090417/28a525e7/attachment.html