diff --git a/src/view_page.cpp b/src/view_page.cpp index a8f41dfb829..3a13c9d1cb9 100644 --- a/src/view_page.cpp +++ b/src/view_page.cpp @@ -1299,7 +1299,7 @@ void View::DrawStaffLines(DeviceContext *dc, Staff *staff, Measure *measure, Sys y2 = y1; } else { - y2 = y1 - staff->GetWidth() * tan(staff->GetDrawingRotation() * M_PI / 180.0); + y2 = y1 - measure->GetWidth() * tan(staff->GetDrawingRotation() * M_PI / 180.0); } }