]> gerrit.simantics Code Review - simantics/sysdyn.git/commit
* Fix: only one dependency is dragged at a time (refs #753)
authormiettinen <miettinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 5 Sep 2012 06:08:28 +0000 (06:08 +0000)
committermiettinen <miettinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 5 Sep 2012 06:08:28 +0000 (06:08 +0000)
commitb1353a22cac9887a7c225195f8e621f0bf05ccfb
tree2f4122f36379e868f4d6aac6809e7167f146179d
parent4a602ca08c235735407b99b880fe9bebccacfee7
* Fix: only one dependency is dragged at a time (refs #753)
* If multiple dependencies are within the range, the preference is 1) selected dependency 2) the nearest dependency
* Changed the hitTest function tolerance to distance instead of the distance squared

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25644 ac1ea38d-2e2b-0410-8846-a27921b304fc
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/connections/Arcs.java
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/connections/DependencyEdgeClass.java
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/connections/DependencyNode.java