Merge pull request 'pip' (#64) from master into release
All checks were successful
SHS Gitea/libs/pipeline/head This commit looks good

Reviewed-on: https://git.shs.tools/SHS/libs/pulls/64
This commit was merged in pull request #64.
This commit is contained in:
2020-08-14 19:55:38 +03:00
2 changed files with 2 additions and 1 deletions

2
pip

Submodule pip updated: e76a07a3f3...31f0d88157

View File

@@ -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) {