]> git.donarmstrong.com Git - lilypond.git/commitdiff
attach GraceSpacing like a normal spanner.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 8 Jan 2007 08:33:48 +0000 (09:33 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 8 Jan 2007 10:24:47 +0000 (11:24 +0100)
lily/grace-spacing-engraver.cc

index 0e1f8740c54ac847f094dadc58ba9f7dcb290c3c..4249084e48448db1b1b75652e97990b702ab1b47 100644 (file)
@@ -51,6 +51,11 @@ Grace_spacing_engraver::process_music ()
                                         column);
 
       column->set_object ("grace-spacing", grace_spacing_->self_scm ());
+
+      if (!grace_spacing_->get_bound (LEFT))
+       grace_spacing_->set_bound (LEFT, column);
+      else
+       grace_spacing_->set_bound (RIGHT, column);
     }
 }