Skip to content
Snippets Groups Projects
Commit b1641139 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

drawing of the transcription site is properly positioned

parent 794eafcb
No related branches found
No related tags found
3 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!62712.2.0~beta.1 into master,!621drawing of the transcription site is properly positioned
Pipeline #8627 passed
......@@ -675,7 +675,9 @@ public abstract class SpeciesConverter<T extends Species> extends ElementConvert
double y = transcriptionSite.getPosition().getY();
double x = transcriptionSite.getPosition().getX();
PolylineData line = new PolylineData();
x += transcriptionSite.getWidth() / 2;
if (transcriptionSite.getDirection().equals("RIGHT")) {
x += transcriptionSite.getWidth();
}
line.addPoint(new Point2D.Double(x, y));
y -= DEFAULT_MODIFICATION_DIAMETER;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment