Browse Source

code style fix

tags/v1.9.9
Nikita Zlobin Filipe Coelho <falktx@falktx.com> 7 years ago
parent
commit
0248888e3c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      source/patchcanvas.py

+ 2
- 1
source/patchcanvas.py View File

@@ -2090,9 +2090,10 @@ class CanvasPort(QGraphicsItem):
def paint(self, painter, option, widget):
painter.save()
painter.setRenderHint(QPainter.Antialiasing, bool(options.antialiasing == ANTIALIASING_FULL))
lineHinting = canvas.theme.port_audio_jack_pen.widthF() / 2
# FIXME: would be more correct is to take line width from Pen, loaded to painter,
# but this needs some code rearrangement
lineHinting = canvas.theme.port_audio_jack_pen.widthF() / 2

poly_locx = [0, 0, 0, 0, 0]



Loading…
Cancel
Save