]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tie-formatting-problem.cc
Set horizon_padding by default for tie formatting, vertical staff distance
[lilypond.git] / lily / tie-formatting-problem.cc
index 3937c5194ea3d1058ca4b8b068dc63e4c15cf200..a55f31373519f6519131a5c5fd76bb8724c55cdd 100644 (file)
@@ -174,8 +174,9 @@ Tie_formatting_problem::set_column_chord_outline (vector<Item*> bounds,
        boxes.push_back (Box (x, y));
     }
   while (flip (&updowndir) != DOWN);
-  
-  chord_outlines_[key] = Skyline (boxes, 0, Y_AXIS, -dir);
+
+  /* todo: the horizon_padding is somewhat arbitrary */
+  chord_outlines_[key] = Skyline (boxes, 0.1, Y_AXIS, -dir);
   if (bounds[0]->break_status_dir ())
     {
       Real x = robust_relative_extent (bounds[0],  x_refpoint_, X_AXIS)[-dir];