| Bendpoint creation is hit or miss [message #777113] |
Mon, 09 January 2012 17:41  |
Alex Kravets Messages: 340 Registered: November 2009 |
Senior Member |
|
|
I implemented bendpoints in conjunction with ShortestPathConnectionRouter. They work, however snapping bendpoint off connection is hit or miss - when I mouse over bendpoint handle and try to drag it, first time nothing happens and second or third time snap works. It's takes 2-3 tried (sometimes more) in order to snap, in logic example this works flawlessly. What could be the problem?
Thanks,
Alex
|
|
|
|
|
|
|
|
| Re: Bendpoint creation is hit or miss [message #778385 is a reply to message #778370] |
Thu, 12 January 2012 12:14   |
Alex Kravets Messages: 340 Registered: November 2009 |
Senior Member |
|
|
And another observation, in AbstractTool.mouseDrag()
boolean wasDragging = movedPastThreshold();
returns true when I am not able to drag bendpoint, so call to
if(!wasDragging)
handleDragStarted();
is never made. When I try to move bendpoint and make the same gesture with mouse 2-3 times it would work on 3rd, sometimes it works immediately.
[Updated on: Thu, 12 January 2012 12:15] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01911 seconds