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

Merge branch '553-change-arrows-for-transcription-starting-sites' into 'devel_12.2.x'

drawing of the transcription site is properly positioned

See merge request !621
parents 794eafcb b1641139
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 #8628 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