From: fred Date: Tue, 26 Mar 2002 23:10:44 +0000 (+0000) Subject: lilypond-1.3.44 X-Git-Tag: release/1.5.59~1691 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=83ffad1fc8e4c99f5a490e5b2f380ceb9bb26b8f;p=lilypond.git lilypond-1.3.44 --- diff --git a/lily/tuplet-spanner.cc b/lily/tuplet-spanner.cc index 1669899c18..bfe7fb2c2d 100644 --- a/lily/tuplet-spanner.cc +++ b/lily/tuplet-spanner.cc @@ -25,7 +25,10 @@ Tuplet_spanner::Tuplet_spanner () { set_elt_property ("beams", SCM_EOL); - set_elt_property ("columns", SCM_EOL); + set_elt_property ("columns", SCM_EOL); + + // ugh. + set_elt_property ("delta-y", gh_int2scm (0)); } /* @@ -197,11 +200,11 @@ Tuplet_spanner::after_line_breaking () if (!column_arr.size ()) { set_elt_property ("transparent", SCM_BOOL_T); - set_empty (X_AXIS); - set_empty (Y_AXIS); + set_extent_callback (0, X_AXIS); + set_extent_callback (0, Y_AXIS); } - Direction d = directional_element (this).get (); + Direction d = directional_element (this).get (); if (!d) { d = get_default_dir (); @@ -210,8 +213,7 @@ Tuplet_spanner::after_line_breaking () } Real dy, offset; -calc_position_and_height (&offset,&dy); - // calc_position (&offset, dy); + calc_position_and_height (&offset,&dy); set_elt_property ("delta-y", gh_double2scm (dy));