Skip to content

Commit

Permalink
Update barline.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz committed May 30, 2023
1 parent 4fac3e9 commit 388758f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libmscore/barline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -701,13 +701,13 @@ void BarLine::draw(QPainter* painter) const
break;
}
Segment* s = segment();
if (s && !score()->printing() && score()->showUnprintable()) {
if (s && !score()->printing() && score()->showUnprintable() && score()->markIrregularMeasures()) {
Measure* m;
if (s->isEndBarLineType())
m = s->measure();
else
m = s->measure()->prevMeasure();
if (m && m->isIrregular() && score()->markIrregularMeasures() && !m->isMMRest()) {
if (m && m->isIrregular() && !m->isMMRest()) {
painter->setPen(MScore::layoutBreakColor);
QFont f("Edwin");
f.setPointSizeF(12 * spatium() * MScore::pixelRatio / SPATIUM20);
Expand Down

0 comments on commit 388758f

Please sign in to comment.