Request: bar number collision avoidance

Currently, bar numbers don’t seem to take into account the loop of the G clef in its collision avoidance. Here, I’ve set the numbers to be 1 space away from the staff, and 15 spaces :laughing: away from other objects.

Yet the numbers still collide with the clef.

I could just move the numbers further away from the staff, but then they look too far adrift in other clefs.

Screen Shot 20.png
Screen Shot 19.png

At the moment, no collision avoidance is carried out for bar numbers drawn at the very start of the system: the bar number drawing code doesn’t know what clef is drawn there, so it can’t avoid it. This is something we intend to improve in future, but I’m not sure when.