Auar / flexvizgraphlib

Automatically exported from code.google.com/p/flexvizgraphlib
0 stars 0 forks source link

Addressed a bug #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  while draging topology graph fastly,and then RELEASE the mouse,
   the topology graph will follow to the mouse.
2.
3.

What is the expected output? What do you see instead?

The graph will stop drag.

What version of the product are you using? On what operating system?

the newest version.

Please provide any additional information below.

I resolved the bug by modify the source code:
org.un.flex.graphLayout.visual.VisualGraph
line:1949
/**
                 * modify this sentence to remove the bug, 
that fast draging cause the whole graph keep following mouse!
                 * by using _canvas, that explictly remove 
the drag event handler.
                 */             
                //myback.removeEventListener
(MouseEvent.MOUSE_MOVE,backgroundDragContinue);             

                _canvas.removeEventListener
(MouseEvent.MOUSE_MOVE,backgroundDragContinue);

Original issue reported on code.google.com by lwz7...@gmail.com on 25 May 2008 at 12:35