From c41400ae187becec86094894bbd8c67751888152 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 31 Oct 2022 14:58:35 -0400 Subject: [PATCH] Use `.setRect()`; not sure how this was ever working? --- piker/ui/_editors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/ui/_editors.py b/piker/ui/_editors.py index f025307e..3703558a 100644 --- a/piker/ui/_editors.py +++ b/piker/ui/_editors.py @@ -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()