]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tie.cc
release: 1.3.31
[lilypond.git] / 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) ;
        }