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.
Coverage decreased (-0.09%) to 88.895% when pulling 2600f89e7d77ff3b69c4095e825525ac792733c2 on fix-legend-name into b414dee831603aaed500e65f19deb8f0ec74166d on master.
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.