summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Seear2012-05-17 15:59:31 (EDT)
committer Fabian Steeg2012-05-17 15:59:31 (EDT)
commitd09233adb17b0b3990157d85b831d7b7911e5c82 (patch)
treec236126a86c879bf23f46b5c5c5dc269ceba38b0
parent7b793ac966fc66c0eacb2e7ee19bac90a509b297 (diff)
downloadorg.eclipse.gef4-d09233adb17b0b3990157d85b831d7b7911e5c82.zip
org.eclipse.gef4-d09233adb17b0b3990157d85b831d7b7911e5c82.tar.gz
org.eclipse.gef4-d09233adb17b0b3990157d85b831d7b7911e5c82.tar.bz2
[379805] Fix looped connection label placement when zooming out
-rw-r--r--org.eclipse.zest.core/src/org/eclipse/zest/core/widgets/GraphConnection.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.zest.core/src/org/eclipse/zest/core/widgets/GraphConnection.java b/org.eclipse.zest.core/src/org/eclipse/zest/core/widgets/GraphConnection.java
index 08d532f..26c458f 100644
--- a/org.eclipse.zest.core/src/org/eclipse/zest/core/widgets/GraphConnection.java
+++ b/org.eclipse.zest.core/src/org/eclipse/zest/core/widgets/GraphConnection.java
@@ -665,6 +665,7 @@ public class GraphConnection extends GraphItem {
p.x = getConnection().getPoints().getPoint(getIndex()).x;
p.y = (int) (getConnection().getPoints().getPoint(
getIndex()).y - (curveDepth * 1.5));
+ getConnection().translateToAbsolute(p);
return p;
}
};