From: Han-Wen Nienhuys Date: Sun, 16 Dec 2007 04:05:47 +0000 (-0200) Subject: Fix dimensions in tremolo hack. X-Git-Tag: release/2.11.37-1~34^2~1^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=26f2f88a34edbaef316393b89273c5e8ddf5ad8c;p=lilypond.git Fix dimensions in tremolo hack. --- diff --git a/lily/beam.cc b/lily/beam.cc index c218fef2eb..bc861aca14 100644 --- a/lily/beam.cc +++ b/lily/beam.cc @@ -871,8 +871,10 @@ Beam::no_visible_stem_positions (Grob *me, Interval default_value) Direction dir = get_grob_direction (me); Real y = head_positions[dir] - + dir * get_beam_translation (me) * multiplicity.length () / 2; + * 0.5 * Staff_symbol_referencer::staff_space (me) + + dir * get_beam_translation (me) * (multiplicity.length () + 1); + y /= Staff_symbol_referencer::staff_space (me); return Interval (y,y); }