mirror of
https://github.com/octoleo/plantuml.git
synced 2025-01-02 22:50:20 +00:00
Fix qualifier labels' margin calculation (#1467)
This commit is contained in:
parent
bac7a4d751
commit
d7efa7e9a2
@ -83,11 +83,11 @@ public class Kal implements UDrawable {
|
|||||||
|
|
||||||
} else if (link.getEntity1() == entity) {
|
} else if (link.getEntity1() == entity) {
|
||||||
this.position = Direction.DOWN;
|
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) {
|
} else if (link.getEntity2() == entity) {
|
||||||
this.position = Direction.UP;
|
this.position = Direction.UP;
|
||||||
entity.ensureMargins(new Margins(0, 0, 0, dim.getHeight()));
|
entity.ensureMargins(new Margins(0, 0, dim.getHeight(),0 ));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalStateException();
|
throw new IllegalStateException();
|
||||||
|
Loading…
Reference in New Issue
Block a user