From: Michael P. <mp...@ph...> - 2000-12-27 21:02:00
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> I noticed that the latest snapshot of dan's has the following glitch: <p><tt>this.x=x||this.x;</tt> <br><tt>this.y=y||this.y;</tt> <p>should be: <p><tt>this.x=(x==null) ? this.x : x;</tt> <br><tt>this.y=(y==null) ? this.y : y;</tt> <p>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). <p>BTW: I've tweaked the dragging code to allow for snapping to the edge of the boundry, anyone interested? <p>-- <br>Michael Pemberton <br>mp...@ph... <br>ICQ: 12107010 <br> </html> |