]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.31
authorfred <fred>
Tue, 26 Mar 2002 22:46:38 +0000 (22:46 +0000)
committerfred <fred>
Tue, 26 Mar 2002 22:46:38 +0000 (22:46 +0000)
lily/tie.cc

index 7f1befbf66a19e613f4062fba48b000167791f00..87de462d7391656f316118bf2c377c9faebb76b6 100644 (file)
@@ -232,7 +232,8 @@ Tie::get_curve () const
       Real ry = rint (y/staff_space) * staff_space;
       Real diff = ry - y;
       Real newy = y;
-      if (fabs (diff) < paper_l ()->get_var ("tie_staffline_clearance"))
+      if (fabs (y) <= 2.0
+         && fabs (diff) < paper_l ()->get_var ("tie_staffline_clearance"))
        {
          newy = ry - 0.5 * staff_space * sign (diff) ;
        }