- // here, add padding for barlines that are not at the end of a staff
- if (Item::is_non_musical (bounds[RIGHT]) && bounds[RIGHT]->break_status_dir () == 0)
- x_points[RIGHT] -= padding;
-
- // here, add padding for barlines that are at the end of a staff
- Real broken_bound_padding = 0.0;
- if (bounds[RIGHT]->break_status_dir () == -1)
- {
- extract_grob_set (me, "concurrent-hairpins", chp);
- for (vsize i = 0; i < chp.size (); i++)
- {
- Spanner *span_elt = dynamic_cast<Spanner *> (chp[i]);
- if (span_elt->get_bound (RIGHT)->break_status_dir () == -1)
- broken_bound_padding = max (broken_bound_padding,
- robust_scm2double (span_elt->get_property ("broken-bound-padding"), 0.0));
- }