From ff72533418b797e56d34084377929892035af180 Mon Sep 17 00:00:00 2001 From: Keith OHara Date: Wed, 14 Dec 2011 18:41:10 -0800 Subject: [PATCH] hairpin.cc: transition between spanners aligns on note; issue 1216 --- input/regression/hairpin-neighboring-span-dynamics.ly | 2 +- lily/hairpin.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/input/regression/hairpin-neighboring-span-dynamics.ly b/input/regression/hairpin-neighboring-span-dynamics.ly index 69fe8958a7..7cd9153e9f 100644 --- a/input/regression/hairpin-neighboring-span-dynamics.ly +++ b/input/regression/hairpin-neighboring-span-dynamics.ly @@ -1,7 +1,7 @@ \version "2.14.0" \header { - texidoc = "Bound padding for hairpins also works with neighboring + texidoc = "Bound padding for hairpins also applies before following @code{DynamicTextSpanner} grobs. In this case, @code{bound-padding} is not scaled down. " diff --git a/lily/hairpin.cc b/lily/hairpin.cc index 403e7bcd08..7d31712df4 100644 --- a/lily/hairpin.cc +++ b/lily/hairpin.cc @@ -220,9 +220,9 @@ Hairpin::print (SCM smob) else x_points[d] = e.center () - d * padding / 3; } - // Our neighbor is a dynamic text spanner, so add the - // same amount of padding as for text dynamics - else + // Our neighbor is a dynamic text spanner. + // If we end on the text, pad as for text dynamics + else if (d == RIGHT) x_points[d] = e[-d] - d * padding; } else -- 2.39.2