Skip to content

Commit

Permalink
Fixing mrest position
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Dec 8, 2014
1 parent b89dad2 commit 2de71ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view_element.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ void View::DrawMRest(DeviceContext *dc, LayerElement *element, Layer *layer, Sta
int y = element->GetDrawingY();

// move it down according to the number of line in the staff
y -= staff->m_drawingLines / 2 * m_doc->m_drawingInterl[staff->staffSize];
y -= staff->m_drawingLines / 2 * m_doc->m_drawingInterl[staff->staffSize] - m_doc->m_drawingInterl[staff->staffSize];

DrawWholeRest ( dc, xCentered, y, DUR_1, 0, false, staff );

Expand Down

0 comments on commit 2de71ee

Please sign in to comment.