Browse Source

Fold too long lines

tags/v1.9.11
Nikita Zlobin 6 years ago
parent
commit
34fdf57eea
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      source/patchcanvas.py

+ 3
- 1
source/patchcanvas.py View File

@@ -1402,7 +1402,9 @@ class PatchScene(QGraphicsScene):
y = pos.y() y = pos.y()


lineHinting = canvas.theme.rubberband_pen.widthF() / 2 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() return event.accept()


if self.m_mid_button_down and self.m_ctrl_down: if self.m_mid_button_down and self.m_ctrl_down:


Loading…
Cancel
Save