Skip to content

Commit

Permalink
krendering.extensions: fixed tail decorator placement.
Browse files Browse the repository at this point in the history
As suggested by #38. Closes #38.
  • Loading branch information
NiklasRentzCAU committed Jul 28, 2021
1 parent 4e48e13 commit 114b7ff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ class KPolylineExtensions {
it.absolute = if (head) -2f else 2f;
it.width = 8;
it.height = 6;
it.setXOffset(if (head) -6f else 6f); // chsch: used the regular way here and below, as the alias
it.setYOffset(if (head) -3f else 3f); // name translation convention changed from Xtext 2.3 to 2.4.
it.setXOffset(if (head) -6f else -3f); // chsch: used the regular way here and below, as the alias
it.setYOffset(if (head) -3f else -4f); // name translation convention changed from Xtext 2.3 to 2.4.
];
if (!head) it.rotation = 180f
];
Expand Down

0 comments on commit 114b7ff

Please sign in to comment.