Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Draw arrow after resizing or moving shape node (Read 1786 times)
friedel
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 31
Joined: Mar 3rd, 2017
Draw arrow after resizing or moving shape node
Jun 23rd, 2017 at 10:35am
Print Post  
Hi. I have found a problem, that after moving or resizing shapeNode I wasn't able to draw arrow from right/left corner. Instead of drawing arrow shapeNode is just resizing or moving. Without moving/resizing it works fine.

Without moving/resizing


After moving/resizing


I have checked, that no event was fired on arrow link dragging from shapeNode
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Draw arrow after resizing or moving shape node
Reply #1 - Jun 26th, 2017 at 10:33am
Print Post  
Hi,

Difference might be coming from selection state of nodes. Selected nodes give higher precedence to adjustment handle hit-testing and associated move/resize operations, even if you use Invisible or Custom handle types. Try clearing selection by calling node.setSelected(false) from nodeModified event handler to see if it helps. Nodes get selected automatically when you start resizing if the ModificationStart property is set to AutoHandles;

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint