]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.44
authorfred <fred>
Tue, 26 Mar 2002 23:10:44 +0000 (23:10 +0000)
committerfred <fred>
Tue, 26 Mar 2002 23:10:44 +0000 (23:10 +0000)
lily/tuplet-spanner.cc

index 1669899c181c4a3b88cd20234f2ca845a89c8939..bfe7fb2c2d87bf2df74a1c0ef71f36bc35a6fce2 100644 (file)
 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));