Skip to content

Commit

Permalink
Manually merged musescore#6501 to master
Browse files Browse the repository at this point in the history
  • Loading branch information
anatoly-os committed Sep 1, 2020
1 parent ae4c52c commit 6542813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/sym.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5780,7 +5780,7 @@ void ScoreFont::draw(SymId id, QPainter* painter, const QSizeF& mag, const QPoin
unsigned char* src = (unsigned char*)(bm->buffer) + bm->pitch * y;
for (unsigned x = 0; x < bm->width; ++x) {
unsigned val = *src++;
color.setAlpha(val);
color.setAlpha(std::min(int(val), painter->pen().color().alpha()));
*dst++ = color.rgba();
}
}
Expand Down

0 comments on commit 6542813

Please sign in to comment.