A possible complication is that the drumset doesn't necessarily "know" how many lines the staff it is attached to has. After all, the same drumset definition can be saved and loaded into multiple staves of different configurations. But it is probably true that we can determine this while drawing the palette.
Comments
A possible complication is that the drumset doesn't necessarily "know" how many lines the staff it is attached to has. After all, the same drumset definition can be saved and loaded into multiple staves of different configurations. But it is probably true that we can determine this while drawing the palette.
Possibly related: #19197: Non-5-line drumset stave lines incorrectly positioned
Not a 2.3 regression (same behavoir in 2.0), nor a bug