Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Get diagram.selection within DraggingTool.doStart() method

$
0
0

@Yefim wrote:

Hi,
I need to get a collection of nodes to be dragged at the beginning of the process (if someone curious why - on a large diagram with many links, in order to improve performance, I am finding all links related to the move and hide them for the time of dragging).
If user makes a selection and starts dragging a fraction of a second later, it works. In case of "button down and immediate move" at the time of doStart() method is called diagram.selection is still empty. As I understand, initial button down event is not processed yet. Is there a way to set some kind of a delay before doStart() is called?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles