From: Mike Solomon Date: Fri, 6 Jan 2012 08:54:05 +0000 (+0100) Subject: Changes starting and ending height of broken hairpins. X-Git-Tag: release/2.15.25-1~17 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ee12a32549ed3802251669b9ad511141fda7b9a0;p=lilypond.git Changes starting and ending height of broken hairpins. Makes broken hairpins begin at 1/3 the full height and end at 2/3 the full height. --- diff --git a/lily/hairpin.cc b/lily/hairpin.cc index 44314e6928..4ccce328b8 100644 --- a/lily/hairpin.cc +++ b/lily/hairpin.cc @@ -265,18 +265,19 @@ Hairpin::print (SCM smob) } bool continued = broken[Direction (-grow_dir)]; + bool continuing = broken[Direction (grow_dir)]; Real starth = 0; Real endh = 0; if (grow_dir < 0) { - starth = height; - endh = continued ? height / 2 : 0.0; + starth = continuing ? 2 * height / 3 : height; + endh = continued ? height / 3 : 0.0; } else { - starth = continued ? height / 2 : 0.0; - endh = height; + starth = continued ? height / 3 : 0.0; + endh = continuing ? 2 * height / 3 : height; } /*