diff --git a/source/patchcanvas.py b/source/patchcanvas.py index 447938a1a..da393492a 100644 --- a/source/patchcanvas.py +++ b/source/patchcanvas.py @@ -1402,7 +1402,9 @@ class PatchScene(QGraphicsScene): y = pos.y() lineHinting = canvas.theme.rubberband_pen.widthF() / 2 - self.m_rubberband.setRect(x+lineHinting, y+lineHinting, abs(pos.x() - self.m_rubberband_orig_point.x()), abs(pos.y() - self.m_rubberband_orig_point.y())) + self.m_rubberband.setRect( x+lineHinting, y+lineHinting, + abs(pos.x() - self.m_rubberband_orig_point.x()), + abs(pos.y() - self.m_rubberband_orig_point.y()) ) return event.accept() if self.m_mid_button_down and self.m_ctrl_down: