]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stem-tremolo.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / stem-tremolo.cc
index cec65cbcafc030db87367f41025fc67d8e59403f..f15d2c4154c8a3a7b5dae379bbd5ff3368ba1415 100644 (file)
@@ -202,8 +202,8 @@ Stem_tremolo::print (SCM grob)
       /* we shouldn't position relative to the end of the stem since the stem
          is invisible */
       vector<int> nhp = Stem::note_head_positions (stem);
-      Real note_head = (stemdir == UP ? nhp.back () : nhp[0]);
-      end_y = note_head + stemdir * 2.0;
+      Real note_head = (stemdir == UP ? nhp.back () : nhp[0]) * ss / 2;
+      end_y = note_head + stemdir * 1.5;
     }
   mol.translate_axis (end_y, Y_AXIS);