[Laszlo-checkins] r8210 - openlaszlo/trunk/lps/components/base

ptw@openlaszlo.org ptw at openlaszlo.org
Sat Mar 8 03:40:28 PST 2008


Author: ptw
Date: 2008-03-08 03:40:25 -0800 (Sat, 08 Mar 2008)
New Revision: 8210

Modified:
   openlaszlo/trunk/lps/components/base/baseslider.lzx
Log:
Change 20080307-ptw-x by ptw at dueling-banjos.local on 2008-03-07 15:16:34 EST
    in /Users/ptw/OpenLaszlo/ringding
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Stop infinite recursion in baseslider

Bugs Fixed:
LPP-5570 'Circular constraints break swf instantiation'

Technical Reviewer: max (Message-ID: <47D23C0E.6040609 at openlaszlo.org>)
QA Reviewer: steele at osteele.com (pending)

Details:
    Initialize basesliderthumb#x so we don't end up comparing to NaN
    in setX to break recursion

Tests:
    Test case from bug



Modified: openlaszlo/trunk/lps/components/base/baseslider.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/baseslider.lzx	2008-03-07 20:41:02 UTC (rev 8209)
+++ openlaszlo/trunk/lps/components/base/baseslider.lzx	2008-03-08 11:40:25 UTC (rev 8210)
@@ -229,6 +229,7 @@
         onmousedown="thedragstate.apply();"
         onmouseup="thedragstate.remove();"
         focusable="false"
+        x="0"
         y="${(parent.height-height)/2}"
     >
         
@@ -288,7 +289,7 @@
     </class><!-- end basesliderthumb class -->
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->
 <!-- @LZX_VERSION@                                                         -->



More information about the Laszlo-checkins mailing list