X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmulti-measure-rest.cc;h=997e76105d2a1764d8d2cdc8915375ec331b2a3d;hb=9f3572d98bb948c9689cd1f75401a029451fa001;hp=0a87a137ed319a6460b01234fc714aee6150c410;hpb=04265f11d1f21416ccebd2dcaa1d903dc781b36e;p=lilypond.git diff --git a/lily/multi-measure-rest.cc b/lily/multi-measure-rest.cc index 0a87a137ed..997e76105d 100644 --- a/lily/multi-measure-rest.cc +++ b/lily/multi-measure-rest.cc @@ -32,22 +32,20 @@ Multi_measure_rest::percent (SCM smob) // ugh copy & paste. - Grob *common_x = sp->get_bound (LEFT)->common_refpoint (sp->get_bound (RIGHT), - X_AXIS); Interval sp_iv; Direction d = LEFT; do { Item *col = sp->get_bound (d)->get_column (); - Interval coldim = robust_relative_extent (col, common_x, X_AXIS); + Interval coldim = col->extent (0, X_AXIS); sp_iv[d] = coldim[-d]; } while ((flip (&d)) != LEFT); Real x_off = 0.0; - Real rx = sp->get_bound (LEFT)->relative_coordinate (common_x, X_AXIS); + Real rx = sp->get_bound (LEFT)->relative_coordinate (0, X_AXIS); /* we gotta stay clear of sp_iv, so move a bit to the right if needed.