From 37184b4a393c031171a35d1c715c13c037cfb126 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 26 Mar 2002 21:50:27 +0000 Subject: [PATCH] lilypond-1.1.49 --- lily/slur.cc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/lily/slur.cc b/lily/slur.cc index 580974a888..504219f393 100644 --- a/lily/slur.cc +++ b/lily/slur.cc @@ -331,7 +331,14 @@ Slur::get_encompass_offset_arr () const // postbreak if (broken_edge_b (LEFT)) - first--; + { + first--; + /* + interstaff postbreak: slur begins at height of last note + */ + Encompass_info info (encompass_arr_[0], dir_, this); + notes[0][Y_AXIS] += info.interstaff_f_; + } else { Encompass_info info (encompass_arr_[0], dir_, this); @@ -344,6 +351,12 @@ Slur::get_encompass_offset_arr () const notes.push (info.o_ - left); } + /* + interstaff prebreak: slur ends at height of last note + */ + if (broken_edge_b (RIGHT)) + d[Y_AXIS] = notes.top ()[Y_AXIS]; + notes.push (d); return notes; -- 2.39.5