Unverified Commit 1ffa721b authored by Andrey Azov's avatar Andrey Azov Committed by GitHub
Browse files

Update logic in UnsplicedTranscript.tsx (#565)

- Make sure that the segments connecting the exon boxes are always drawn correctly
   by deriving the coordinates and the widths of the connecting segments from the precalculated coordinates
   and widths of the exon boxes
- Make sure that the right border of the last exon box does not extend beyond the total transcript width
   by using a custom interpolation function that always interpolates to the smallest integer
   rather than to the nearest one.
Co-authored-by: Imran Salam's avatarImran Salam <imran@ebi.ac.uk>
parent 505f97e9
Pipeline #188354 passed with stages
in 4 minutes and 31 seconds