this.x=x||this.x;
this.y=y||this.y;
should be:
this.x=(x==null) ? this.x : x;
this.y=(y==null) ? this.y : y;
For some reason, ther value '0' is being counted is not picked up in the first version. This caused some problems with drags finishing early and also stopped you from moving a layer to 0 (either x or y).
BTW: I've tweaked the dragging code to allow for snapping to the edge of the boundry, anyone interested?
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
