Skip to content
Snippets Groups Projects
Commit a9d220c4 authored by Tiziano Munaro's avatar Tiziano Munaro
Browse files

Fix angle conversion leading to wrongly positioned ports on ellipses

parent 1ffc3e9f
No related branches found
No related tags found
1 merge request!88[3873] Ellipses and Bezier curves
CoordinateCorrections.java 018bf229e5686afcb8540b61dd9d05b6e4a23e93 GREEN
LayoutedCircularAnchorageContentVisualBase.java 97b798b5fd6dfcc2c60324d913c0a88280788fe7 GREEN
LayoutedCircularAnchorageContentVisualBase.java cd85ff478e9b8e6b6d6f6c75cc5bf61522a63f3e YELLOW
LayoutedCircularAnchorageDiagramVisualBase.java 7634416bcb88a014d985143bf00a8d29ff1e3ff5 GREEN
LayoutedCurveLinkVisual.java 5b06cd7e80eaf7cf6af37a4769eaafe2a1e591f3 GREEN
LayoutedEllipticContentVisualBase.java 6f3daf386d5120793b90ce4569dd9bea33dd2a0f GREEN
......
......@@ -157,7 +157,6 @@ public abstract class LayoutedCircularAnchorageContentVisualBase<T extends ILayo
/** {@inheritDoc} */
@Override
public double getAngleInDegree() {
// in AF3 the unit circle goes clock-wise (for whatever reason)
return 360.0 - toDegrees(getConnectorAngleAsDouble(getModelElement()));
return toDegrees(getConnectorAngleAsDouble(getModelElement()));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment