Use MiterJoin for drawing tuplet brackets
This commit is contained in:
parent
ba238d13e3
commit
5590bbfb52
1 changed files with 4 additions and 1 deletions
|
@ -3042,7 +3042,10 @@ void TDraw::draw(const Tuplet* item, Painter* painter)
|
|||
painter->translate(-pos);
|
||||
}
|
||||
if (item->hasBracket()) {
|
||||
painter->setPen(Pen(color, item->bracketWidth().val() * item->mag()));
|
||||
Pen pen(color, item->bracketWidth().val() * item->mag());
|
||||
pen.setJoinStyle(PenJoinStyle::MiterJoin);
|
||||
pen.setCapStyle(PenCapStyle::FlatCap);
|
||||
painter->setPen(pen);
|
||||
if (!item->number()) {
|
||||
painter->drawPolyline(item->bracketL, 4);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue