Use `.setRect()`; not sure how this was ever working?

pg_exts_fork
Tyler Goodlet 2022-10-31 14:58:35 -04:00
parent e71bd2cb1e
commit c41400ae18
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ class SelectRect(QtWidgets.QGraphicsRectItem):
self.setPos(r.topLeft())
self.resetTransform()
self.scale(r.width(), r.height())
self.setRect(r)
self.show()
y1, y2 = start_pos.y(), end_pos.y()