]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tie.cc
* lily/tie-column-format.cc (set_chord_outline): add dots into
[lilypond.git] / lily / tie.cc
index 7588cc33ed61823e073b876105c186ad058111d8..a0b8213f2d363e375b2739e43fa767b61426c81e 100644 (file)
@@ -277,6 +277,12 @@ Tie::get_configuration (Grob *me_grob, Grob *common,
       conf->position_ += conf->dir_;
       in_space = !in_space;
 
+      if (conf->position_ == dot_pos)
+       {
+         conf->position_ += conf->dir_;
+         in_space = !in_space;
+       }
+      
       if (skylines)
        {
          Real y = staff_space * 0.5 * conf->position_;
@@ -469,6 +475,15 @@ Tie::calc_control_points (SCM smob)
   // trigger Tie-column
   (void)  get_grob_direction (me);
 
+  Grob *yparent = me->get_parent (Y_AXIS);
+  if (Tie_column::has_interface (yparent)
+      && unsmob_grob_array (yparent->get_object ("ties"))
+      && unsmob_grob_array (yparent->get_object ("ties"))->size () > 1)
+    {
+      /* trigger positioning. */
+      (void) yparent->get_property ("positioning-done");
+    }
+
   if (!scm_is_pair (me->get_property ("control-points")))
     {
       set_default_control_points (me);