Bug 369371 - ConnectionDecorator visualization cut
make rough calculated value 50% bigger
diff --git a/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/figures/GFAbstractRotatableDecoration.java b/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/figures/GFAbstractRotatableDecoration.java
index a21dca1..a9adf89 100644
--- a/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/figures/GFAbstractRotatableDecoration.java
+++ b/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/figures/GFAbstractRotatableDecoration.java
@@ -168,7 +168,8 @@
// This is a rough value, which is bigger than the smallest bounds would
// be.
int maxExtension = Math.max(getInitialBounds().width, getInitialBounds().height) + 10;
- bounds = new Rectangle(touchPointDelta.x - maxExtension, touchPointDelta.y - maxExtension, 2 * maxExtension, 2 * maxExtension);
+ bounds = new Rectangle(touchPointDelta.x - maxExtension, touchPointDelta.y - maxExtension, 3 * maxExtension,
+ 3 * maxExtension);
}
// ============================ overwritten methods =======================