Center cross junction ellipse, thank Timbul Widodo

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4606 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2016-08-05 15:41:46 +00:00
parent 49fc5c61e3
commit 4ed18b28aa

View File

@@ -498,7 +498,7 @@ void Conductor::paint(QPainter *qp, const QStyleOptionGraphicsItem *options, QWi
qp -> setBrush(junction_brush); qp -> setBrush(junction_brush);
qp -> setRenderHint(QPainter::Antialiasing, true); qp -> setRenderHint(QPainter::Antialiasing, true);
foreach(QPointF point, junctions_list) { foreach(QPointF point, junctions_list) {
qp -> drawEllipse(QRectF(point.x() - 1, point.y() - 1, 3.0, 3.0)); qp -> drawEllipse(QRectF(point.x() - 1.5, point.y() - 1.5, 3.0, 3.0));
} }
} }
qp -> restore(); qp -> restore();