From: Joe Neeman Date: Tue, 28 Jul 2009 06:37:00 +0000 (-0700) Subject: Fix cross-staff thinko. X-Git-Tag: release/2.13.4-1~272^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8d5c8918fa0cd6c693766be2348f9b74a7a7b1e9;p=lilypond.git Fix cross-staff thinko. --- diff --git a/lily/axis-group-interface.cc b/lily/axis-group-interface.cc index 87abab3a2f..07ed23f64f 100644 --- a/lily/axis-group-interface.cc +++ b/lily/axis-group-interface.cc @@ -641,7 +641,11 @@ Axis_group_interface::skyline_spacing (Grob *me, vector elements) current_elts.push_back (elements[i]); while (i + 1 < elements.size () && scm_eq_p (elements[i+1]->get_property ("outside-staff-priority"), priority)) - current_elts.push_back (elements[++i]); + { + if (!to_boolean (elements[i+1]->get_property ("cross-staff"))) + current_elts.push_back (elements[i+1]); + ++i; + } add_grobs_of_one_priority (&skylines, current_elts, x_common, y_common); }