fix drawing of tremolo
This commit is contained in:
parent
c6b2e09ddc
commit
74e3fa6ec7
2 changed files with 2 additions and 1 deletions
|
@ -552,7 +552,7 @@ class Score : public QObject {
|
|||
void colorItem(Element*);
|
||||
QList<Part*>& parts() { return _parts; }
|
||||
const QList<Part*>& parts() const { return _parts; }
|
||||
Part* part(int n) const { return _parts[n]; }
|
||||
Part* part(int n) const { return _parts[n]; }
|
||||
void appendPart(Part* p);
|
||||
void updateStaffIndex();
|
||||
void sortStaves(QList<int>& dst);
|
||||
|
|
|
@ -40,6 +40,7 @@ Tremolo::Tremolo(Score* score)
|
|||
void Tremolo::draw(QPainter* painter) const
|
||||
{
|
||||
painter->setBrush(QBrush(curColor()));
|
||||
painter->setPen(Qt::NoPen);
|
||||
painter->drawPath(path);
|
||||
if ((parent() == 0) && !twoNotes()) {
|
||||
qreal x = 0.0; // bbox().width() * .25;
|
||||
|
|
Loading…
Reference in a new issue