Skip to content
Snippets Groups Projects

[3924] Fix small bugs in fx diagram editor

Merged Ulrich Schöpp requested to merge 3924 into master
Files
2
@@ -51,6 +51,8 @@ public final class EllipticBorderLocation {
/**
* Returns the location computed from this {@link EllipticBorderLocation} relative to the
* ellipse center.
* TODO(JE): leads to java.lang.ArithmeticException: / by zero if cos is 0. What is the
* difference to the existing code? Why is an adaption needed?
*/
public DiagramCoordinate getLocation() {
double angle = Math.PI * angleInDegree / 180;
Loading