Interval staff_span = Staff_symbol::line_span (staff);
staff_span.widen (1);
if (staff_span.contains (position)
- /* In case of a ledger lines, quantize even if we're outside the staff. */
+ /* If we are between notehead and staff, quantize for ledger lines. */
|| (Note_head::has_interface (head)
-
- && abs (Staff_symbol_referencer::get_position (head)) > abs (position)))
+ && dir * position < 0))
{
total_off += (rounded - position) * 0.5 * ss;
if (Staff_symbol_referencer::on_line (me, int (rounded)))