diff --git a/src/net/sourceforge/plantuml/svek/Kal.java b/src/net/sourceforge/plantuml/svek/Kal.java index 94df3f10b..05b9426fd 100644 --- a/src/net/sourceforge/plantuml/svek/Kal.java +++ b/src/net/sourceforge/plantuml/svek/Kal.java @@ -83,11 +83,11 @@ public class Kal implements UDrawable { } else if (link.getEntity1() == entity) { this.position = Direction.DOWN; - entity.ensureMargins(new Margins(0, 0, dim.getHeight(), 0)); + entity.ensureMargins(new Margins(0, 0, 0, dim.getHeight())); } else if (link.getEntity2() == entity) { this.position = Direction.UP; - entity.ensureMargins(new Margins(0, 0, 0, dim.getHeight())); + entity.ensureMargins(new Margins(0, 0, dim.getHeight(),0 )); } else { throw new IllegalStateException();