Commit 2da77a48 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

Components: JavaFX editor. Fixed channel anchorage locations.

Issue-Ref: 3815
Issue-Url: https://af3-developer.fortiss.org/issues/3815

Signed-off-by: Florian Hölzl's avatarFlorian Hoelzl <hoelzl@fortiss.org>
parent b61ac7c2
ChannelVisual.java 302cff971a2d2efd4f20f3f77225ff0660580a13 YELLOW
ChannelVisual.java 381cfd3bb1983b4c23bf5f6dd75f61a44f1bc2b5 YELLOW
CoordinateCorrections.java c676ffd7f26e4f29f6e3bbcbde7c26d4e4c21c4d GREEN
DiagramComponentPortVisual.java 842e298a4d01a9428083d5e86a614547cd065b23 YELLOW
SubComponentPortVisual.java db1ad8ec2246380b25b3e2d1edefe7f047f48b6f YELLOW
......
......@@ -16,7 +16,7 @@
package org.fortiss.af3.component.ui.editor.fx.visual;
import static java.util.Collections.emptyList;
import static org.fortiss.tooling.base.ui.utils.LWFXEditorUtils.computeLinkToAnchorLocation;
import static org.fortiss.tooling.base.ui.utils.LWFXEditorUtils.computeLinkToCircleLocation;
import static org.fortiss.tooling.base.ui.utils.LayoutDataUIUtils.getConnectionPoints;
import java.util.List;
......@@ -64,14 +64,14 @@ public final class ChannelVisual extends LineLinkVisualBase {
@Override
protected DiagramCoordinate getStartAnchorLocation(Rectangle2D anchorBounds,
DiagramCoordinate target) {
return computeLinkToAnchorLocation(anchorBounds, target);
return computeLinkToCircleLocation(anchorBounds, target);
}
/** {@inheritDoc} */
@Override
protected DiagramCoordinate getEndAnchorLocation(Rectangle2D ifcBounds,
protected DiagramCoordinate getEndAnchorLocation(Rectangle2D anchorBounds,
DiagramCoordinate target) {
return computeLinkToAnchorLocation(ifcBounds, target);
return computeLinkToCircleLocation(anchorBounds, target);
}
/** {@inheritDoc} */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment