fix #21286: Ledger lines of small stave appear incorrectly on mouse cursor in Note Entry mode

This commit is contained in:
lasconic 2013-06-05 17:19:11 +02:00
parent f18aa28ee4
commit 4ab29a63b7

View file

@ -57,8 +57,8 @@ void ShadowNote::draw(QPainter* painter) const
qreal ms = spatium();
qreal x1 = sym->width(magS())*.5 - ms;
qreal x2 = x1 + 2 * ms;
qreal x1 = sym->width(magS())*.5 - (ms * mag());
qreal x2 = x1 + 2 * ms * mag();
ms *= .5;
if (_line < 100 && _line > -100 && !ps.rest) {