Fix: ImageItem::paint

This commit is contained in:
Dmitry Zagorodnev
2022-10-24 14:57:31 +03:00
parent 4903abc408
commit 2c5ed82376
+1 -1
View File
@@ -364,7 +364,7 @@ void ImageItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
}
if (shiftHeight > 0){
point.setY(point.x()+shiftHeight/2);
point.setY(point.y()+shiftHeight/2);
} else {
cutY = fabs(shiftHeight/2);
cutHeigth += shiftHeight;