]> git.donarmstrong.com Git - lilypond.git/commit
Fix #1696: Bad breathing sign Y-offset when using line-positions.
authorNeil Puttock <n.puttock@gmail.com>
Sat, 18 Jun 2011 22:51:56 +0000 (23:51 +0100)
committerCarl Sorensen <c_sorensen@byu.edu>
Sat, 25 Jun 2011 06:28:10 +0000 (00:28 -0600)
commit3752ba5b6d7f811e7ec9419277a07b1de01d9943
treef663f835392804368437c18f4e41ced017f32cf5
parentfc46238401bd8e4412d6f48aaab4c127e42b035f
Fix #1696: Bad breathing sign Y-offset when using line-positions.

* input/regression/breathing-sign-custom-staff.ly

  new regtest

* lily/breathing-sign.cc (offset_callback):

  use Staff_symbol::line_span () to calculate offset instead of
  Staff_symbol_referencer::line_count (): the latter is only useful for
  symmetrical staves

  tidy code; remove obsolete TODO
input/regression/breathing-sign-custom-staff.ly [new file with mode: 0644]
lily/breathing-sign.cc