Merge pull request 'pip' (#64) from master into release
All checks were successful
SHS Gitea/libs/pipeline/head This commit looks good
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:
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());
|
QPen _pen(p->pen());
|
||||||
for (int i = 0; i < segments.size(); ++i) {
|
for (int i = 0; i < segments.size(); ++i) {
|
||||||
_pen.setWidthF(pen_width);
|
_pen.setWidthF(pen_width);
|
||||||
|
_pen.setCapStyle(Qt::SquareCap);
|
||||||
p->setPen(_pen);
|
p->setPen(_pen);
|
||||||
p->drawLine(pol[segments[i].first], pol[segments[i].second]);
|
p->drawLine(pol[segments[i].first], pol[segments[i].second]);
|
||||||
if (pointSegmentsCount(segments[i].first) > 2) {
|
if (pointSegmentsCount(segments[i].first) > 2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user