Skip to content

Commit

Permalink
fix #216271: weird text behaviour...
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Jun 6, 2017
1 parent cd6ef14 commit c1e56c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3015,7 +3015,7 @@ void Text::drawEditMode(QPainter* p, EditData& ed)
p->setBrush(Qt::NoBrush);

qreal m = spatium();
QRectF r = pageBoundingRect().adjusted(-m, -m, m, m);
QRectF r = canvasBoundingRect().adjusted(-m, -m, m, m);
p->drawRect(r);
pen = QPen(MScore::defaultColor, 0.0);
}
Expand Down

0 comments on commit c1e56c1

Please sign in to comment.