incorrectly "remember" prior length of segment when toggling mm-rests and changing barline type
Starting with double barline at end of second measure of empty score: if then toggle mm rests, then the everything's ok: But if then untoggle mm rests, and change the double barline to a double-repeat: Then when retoggle mmrests, the line is too long: Now if untoggle mmrests and switch back to double barline: then when retoogle mm-rests, the line is now too-short: again as if it is reuing the same lenght as before. But whenever I retoggle mm-rests twice, that always "corrects" the length:
Note that the erroneous length still persists if I export to pdf: multi-measure-rest_4-retoggle-mm-rest-line-too-long.pdf
It is almost as if the prior length of the segment is being "remembered" for calculating the layout of the mm-rest during measure layout, even though that length changes in layoutsystem.
Also note that keysignatures will cause this issue as well...maybe also anything that adds offset to a barline like time signatures as well. It seems to always be the measure after the mm-rest which is laid-out incorrectly, not the measure before.
on 176a6d7 arch linux x86-64