Skip to content

Commit

Permalink
fix #24580: Incorrect masking of fret mark
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Aug 7, 2014
1 parent 289a5b0 commit 760490f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/note.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ void Note::draw(QPainter* painter) const
// draw background, if required
if (!tab->linesThrough() || fretConflict()) {
qreal d = spatium() * .1;
QRectF bb = QRectF(bbox().x()-d, tab->fretMaskY(), bbox().width() + 2*d, tab->fretMaskH());
QRectF bb = QRectF(bbox().x()-d, tab->fretMaskY()*magS(), bbox().width() + 2*d, tab->fretMaskH()*magS());
// we do not know which viewer did this draw() call
// so update all:
foreach(MuseScoreView* view, score()->getViewer())
Expand Down

0 comments on commit 760490f

Please sign in to comment.