Skip to content

Commit

Permalink
fix #124871: Tablature note value flags are too small
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Sep 17, 2016
1 parent 68c8f68 commit 69d917c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libmscore/stafftype.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ void TabDurationSymbol::layout2()

void TabDurationSymbol::draw(QPainter* painter) const
{
if(!_tab)
if (!_tab)
return;
qreal mag = magS();
qreal imag = 1.0 / mag;
Expand All @@ -982,7 +982,9 @@ void TabDurationSymbol::draw(QPainter* painter) const
painter->scale(mag, mag);
if (_beamGrid == TabBeamGrid::NONE) {
// if no beam grid, draw symbol
painter->setFont(_tab->durationFont());
QFont f(_tab->durationFont());
f.setPointSizeF(f.pointSizeF() * MScore::pixelRatio);
painter->setFont(f);
painter->drawText(QPointF(0.0, 0.0), _text);
}
else {
Expand Down

0 comments on commit 69d917c

Please sign in to comment.