[qet] [4606] Center cross junction ellipse, thank Timbul Widodo

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4606
Author:   scorpio810
Date:     2016-08-05 17:41:46 +0200 (Fri, 05 Aug 2016)
Log Message:
-----------
Center cross junction ellipse, thank Timbul Widodo

Modified Paths:
--------------
    trunk/sources/qetgraphicsitem/conductor.cpp

Modified: trunk/sources/qetgraphicsitem/conductor.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/conductor.cpp	2016-08-05 12:15:59 UTC (rev 4605)
+++ trunk/sources/qetgraphicsitem/conductor.cpp	2016-08-05 15:41:46 UTC (rev 4606)
@@ -498,7 +498,7 @@
 		qp -> setBrush(junction_brush);
 		qp -> setRenderHint(QPainter::Antialiasing, true);
 		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();


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/