Browse Source

Fix rack-interior-right drawing offset

tags/v1.9.11
falkTX 6 years ago
parent
commit
120dd1c40d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/frontend/widgets/racklistwidget.py

+ 1
- 1
source/frontend/widgets/racklistwidget.py View File

@@ -363,7 +363,7 @@ class RackListWidget(QListWidget):
def paintEvent(self, event): def paintEvent(self, event):
painter = QPainter(self.viewport()) painter = QPainter(self.viewport())
painter.drawTiledPixmap(0, 0, self.fPixmapWidth, self.height(), self.fPixmapL) painter.drawTiledPixmap(0, 0, self.fPixmapWidth, self.height(), self.fPixmapL)
painter.drawTiledPixmap(self.width()-self.fPixmapWidth-2, 0, self.fPixmapWidth, self.height(), self.fPixmapR)
painter.drawTiledPixmap(self.width()-self.fPixmapWidth, 0, self.fPixmapWidth, self.height(), self.fPixmapR)
QListWidget.paintEvent(self, event) QListWidget.paintEvent(self, event)


# -------------------------------------------------------------------------------------------------------- # --------------------------------------------------------------------------------------------------------


Loading…
Cancel
Save