Skip to content

Commit

Permalink
fix #65846: Ledger lines do not change color with staff
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyrult committed Apr 27, 2016
1 parent cb65146 commit 83c0f82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libmscore/ledgerline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "ledgerline.h"
#include "chord.h"
#include "measure.h"
#include "staff.h"
#include "system.h"
#include "score.h"

Expand Down Expand Up @@ -60,6 +61,7 @@ qreal LedgerLine::measureXPos() const
void LedgerLine::layout()
{
setLineWidth(score()->styleS(StyleIdx::ledgerLineWidth) * chord()->mag());
setColor(staff()->color());
Line::layout();
}

Expand Down

0 comments on commit 83c0f82

Please sign in to comment.