]> git.donarmstrong.com Git - lilypond.git/commit
Fix 1563: System start bars interpreted collapse-height as absolute length.
authorReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 11 Jul 2011 16:03:40 +0000 (18:03 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 22 Jul 2011 12:03:19 +0000 (14:03 +0200)
commit1c4662c4773eb0c646011c82a2dd2f7c5f92a283
tree759dbc53aea54bdeea37363fa2c7c0b1af2b60a3
parent5291daf785cd215145473781612732de94890ba0
Fix 1563: System start bars interpreted collapse-height as absolute length.

If you increased the staff-space, this meant sometimes the collapse-height
would not be enough to hide the start-bar for a staff, while in other cases
it was enough...

This patch interprets the collapse-height in multiples of the staff-space.

However, I think that the notion of a collapse-height (as a length) for
hiding/showing the system start delimiter is not the best approach in
general. Sooner or later, we should change the system to show/hide the
system start bar/bracket depending on the number of staves involved rather
than on grob height.
input/regression/system-start-bar-collapse-staffspace.ly [new file with mode: 0644]
lily/system-start-delimiter.cc