PDA

View Full Version : Can't drag DHTML views into negative x/y territory


rcyeager
06-15-2007, 07:04 AM
In SWF mode, the red view can be dragged beyond the top and left sides, but in DHTML the red view can't...negative x/y view positions aren't honored:


<canvas id="maincanvas" width="100%" height="100%" validate="false" debug="false" proxied="false" bgcolor="0x00aaaa">
<debug x="650" y="200" width="800" height="400" fontsize="12"/>

<view x="200" y="200" width="400" height="400" bgcolor="blue" clip="true">
<view x="100" y="100" width="100" height="100" bgcolor="red" onmousedown="this.dragger.apply()" onmouseup="this.dragger.remove()">
<dragstate name="dragger"/>
</view>
</view>
</canvas>

max
06-15-2007, 05:52 PM
I just sent a fix out for review that resolves this. I'll let you know when it's checked in. Thanks!

Regards,
Max Carlson
OpenLaszlo.org

rcyeager
06-15-2007, 06:08 PM
Woohoo! :-)

max
06-15-2007, 07:24 PM
This is fixed as of r5440. Look for a nightly build with a higner revision number, likely tonight. Thanks!