eweitz / ideogram

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

Ensure labels for higher-ranked annotations appear in front #271

Closed eweitz closed 3 years ago

eweitz commented 3 years ago

This fixes a z-index bug, in which the label for higher-ranked annotation (e.g. a searched gene) could be overwritten by the label of a lower-ranked annotation (e.g. a related, interacting gene).

Example with genes related to CD8A:

Before

Label_z-index_bug_ideogram_2021-05-11

After

Label_z-index_bug_fix_ideogram_2021-05-11
coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.02%) to 89.207% when pulling d47ff1ae49db51abcd7047b3d42bb82a77b8f5ed on searched-gene-at-front into ed2b12a98c873a92347f94cb9a92ff9edd04d16c on master.