parent
2e6ff1be22
commit
86e1ae08fa
|
@ -50,9 +50,6 @@ void ImageItem::paint(QPainter *painter) {
|
||||||
painter->setClipPath(clip);
|
painter->setClipPath(clip);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (center.x() < 0) center.setX(0);
|
|
||||||
if (center.y() < 0) center.setY(0);
|
|
||||||
|
|
||||||
painter->drawImage(center, scaled);
|
painter->drawImage(center, scaled);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue