gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/testsuite/misc-ming.all DragDropTest.as


From: Sandro Santilli
Subject: [Gnash-commit] gnash/testsuite/misc-ming.all DragDropTest.as
Date: Fri, 21 Dec 2007 23:43:40 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/12/21 23:43:39

Modified files:
        testsuite/misc-ming.all: DragDropTest.as 

Log message:
        move the draggable to another circle before calling stopDrag

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DragDropTest.as?cvsroot=gnash&r1=1.3&r2=1.4

Patches:
Index: DragDropTest.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DragDropTest.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- DragDropTest.as     21 Dec 2007 23:39:14 -0000      1.3
+++ DragDropTest.as     21 Dec 2007 23:43:39 -0000      1.4
@@ -8,7 +8,7 @@
 //
 //
 
-rcsid="$Id: DragDropTest.as,v 1.3 2007/12/21 23:39:14 strk Exp $";
+rcsid="$Id: DragDropTest.as,v 1.4 2007/12/21 23:43:39 strk Exp $";
 
 #define info _root.note
 #define note _root.note
@@ -289,7 +289,13 @@
        _root.onMouseDown = function()
        {
                xcheck_equals(_root.draggable50._droptarget, 
"/loadedTarget/target100");
-        _root.draggable50.stopDrag(); // stop the drag here
+
+        // move the draggable over the first green square
+        _root.draggable50._x = _root.draggable50._y = 50;
+
+        // and stop the drag 
+        _root.draggable50.stopDrag();
+
                test11();
        };
 };




reply via email to

[Prev in Thread] Current Thread [Next in Thread]