Skip to content

Commit

Permalink
[viewer] centered points drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
godardma committed Oct 16, 2024
1 parent 459d2db commit b1179f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewer/vibesgraphicsitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,7 @@ bool VibesGraphicsPoints::computeProjection(int dimX, int dimY)
double r = radiusesExist ? radiuses[i].toDouble() : radius;

// Draw with the new properties
QGraphicsEllipseItem * disk = new QGraphicsEllipseItem(0, 0, 2 * r, 2 * r);
QGraphicsEllipseItem * disk = new QGraphicsEllipseItem(-r, -r, 2 * r, 2 * r);
disk->setPos(x, y);

disk->setPen(pen);
Expand Down

0 comments on commit b1179f1

Please sign in to comment.