]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/hairpin.cc
Changes starting and ending height of broken hairpins.
[lilypond.git] / lily / hairpin.cc
index 44314e69285bca974a89570ec431c90477a75d81..4ccce328b856f15f8f2c18ce352f3ef778f4afe7 100644 (file)
@@ -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;
     }
 
   /*