mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 12:34:39 +03:00
Fix: ImageItem::paint
This commit is contained in:
parent
4903abc408
commit
2c5ed82376
@ -364,7 +364,7 @@ void ImageItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (shiftHeight > 0){
|
if (shiftHeight > 0){
|
||||||
point.setY(point.x()+shiftHeight/2);
|
point.setY(point.y()+shiftHeight/2);
|
||||||
} else {
|
} else {
|
||||||
cutY = fabs(shiftHeight/2);
|
cutY = fabs(shiftHeight/2);
|
||||||
cutHeigth += shiftHeight;
|
cutHeigth += shiftHeight;
|
||||||
|
Loading…
Reference in New Issue
Block a user