]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fixes StemTremolo Y-offset for beamed stems (Issue 1929).
authorMike Solomon <mike@apollinemike.com>
Thu, 29 Sep 2011 12:17:14 +0000 (14:17 +0200)
committerMike Solomon <mike@apollinemike.com>
Thu, 29 Sep 2011 12:17:14 +0000 (14:17 +0200)
lily/stem-tremolo.cc

index a45ae1182abee4b71c609842cc2c362a1e3f35ee..9f21c466c3e5932764fc2bc29b67988fa5e9694b 100644 (file)
@@ -265,7 +265,8 @@ Stem_tremolo::y_offset (Grob *me, bool pure)
 
   Real end_y
     = stem->extent (stem, Y_AXIS)[stemdir]
 
   Real end_y
     = stem->extent (stem, Y_AXIS)[stemdir]
-      - stemdir * max (beam_count, 1) * beam_translation;
+      - stemdir * max (beam_count, 1) * beam_translation
+      - Stem::beam_end_corrective (stem);
 
   if (!beam && Stem::duration_log (stem) >= 3)
     {
 
   if (!beam && Stem::duration_log (stem) >= 3)
     {