eweitz / ideogram

Chromosome visualization for the web
https://eweitz.github.io/ideogram
Other
288 stars 72 forks source link

Fix legend name placement #287

Closed eweitz closed 2 years ago

eweitz commented 2 years ago

This fixes a layout bug causing various positional offset problems with legends, as depicted in #283. The bug had been introduced by customizations to support the special legend in the related genes kit.

A new automated test has been added to prevent this bug from recurring.

Below is how the two kinds of legend look after this fix.

Legend_layouts__Ideogram_2021-11-26
coveralls commented 2 years ago

Coverage Status

Coverage decreased (-0.09%) to 88.895% when pulling 2600f89e7d77ff3b69c4095e825525ac792733c2 on fix-legend-name into b414dee831603aaed500e65f19deb8f0ec74166d on master.