]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/figured-bass-engraver.cc
Add direction-awareness ability to post-event music functions
[lilypond.git] / lily / figured-bass-engraver.cc
index f0eaf5a1a96da6f9ee0564b9941db9c10d6af1ff..b4c92f8862060ac3c8270f9b76672b3f6f107c20 100644 (file)
@@ -333,6 +333,7 @@ Figured_bass_engraver::process_music ()
           groups_.push_back (group);
         }
 
+      groups_[k].reset_figure ();
       groups_[k].current_event_ = new_events_[i];
       groups_[k].figure_item_ = 0;
       k++;
@@ -458,8 +459,12 @@ Figured_bass_engraver::create_grobs ()
         {
           /*
             UGH should connect to the bass staff, and get the note heads.
+            For now, simply set the hidden figure to a default value to
+            ensure the extenders of different figures always end at the same
+            position, e.g. in <12 5> <12 5>
           */
           group.figure_item_->set_property ("transparent", SCM_BOOL_T);
+          group.figure_item_->set_property ("text", ly_string2scm ("0"));
           group.continuation_line_->set_bound (RIGHT, group.figure_item_);
         }