X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Faxis-group-engraver.cc;h=6ffe752dda66415ca5c614e4d244c53309fa13ca;hb=b542997680bb2d95c3a03a77468b67e04d30685f;hp=52fc80484a3bf0fd22c2c4b01b982149ea328833;hpb=b0064942493df77833e6e41e05d362850f4874b0;p=lilypond.git diff --git a/lily/axis-group-engraver.cc b/lily/axis-group-engraver.cc index 52fc80484a..6ffe752dda 100644 --- a/lily/axis-group-engraver.cc +++ b/lily/axis-group-engraver.cc @@ -24,7 +24,11 @@ Axis_group_engraver::do_creation_processing () staffline_p_ = get_spanner_p (); Axis_group_interface (staffline_p_).set_interface (); Axis_group_interface (staffline_p_).set_axes (Y_AXIS, Y_AXIS); - staffline_p_->set_bound(LEFT,get_staff_info().command_pcol_l ()); + + Item * it = get_staff_info().command_pcol_l (); + Pointer_group_interface (it, "bounded-by-me").add_element (staffline_p_); + staffline_p_->set_bound(LEFT,it); + announce_element (Score_element_info (staffline_p_, 0)); } @@ -57,8 +61,11 @@ Axis_group_engraver::do_removal_processing () && gh_number_p (gh_cdr (dims))) staffline_p_->set_elt_property ("extra-extent-Y", dims); - - staffline_p_->set_bound(RIGHT,get_staff_info().command_pcol_l ()); + Item * it = get_staff_info().command_pcol_l (); + + Pointer_group_interface (it, "bounded-by-me").add_element (staffline_p_); + staffline_p_->set_bound(RIGHT,it); + typeset_element (staffline_p_); staffline_p_ = 0; }