pip
BlockBusItem paint fix
This commit is contained in:
2
pip
2
pip
Submodule pip updated: e76a07a3f3...31f0d88157
@@ -732,6 +732,7 @@ void BlockBusItem::paint(QPainter * p, const QStyleOptionGraphicsItem * o, QWidg
|
||||
QPen _pen(p->pen());
|
||||
for (int i = 0; i < segments.size(); ++i) {
|
||||
_pen.setWidthF(pen_width);
|
||||
_pen.setCapStyle(Qt::SquareCap);
|
||||
p->setPen(_pen);
|
||||
p->drawLine(pol[segments[i].first], pol[segments[i].second]);
|
||||
if (pointSegmentsCount(segments[i].first) > 2) {
|
||||
|
||||
Reference in New Issue
Block a user